-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discord notification fixes #83
Conversation
recursivetree
commented
Jul 1, 2023
- A few fixes that haven't found their way into Native discord notifications 5.0.x #81
fork standalone slack driver to implement standard discord API.
Co-authored-by: Loïc Leuilliot <[email protected]>
@@ -63,7 +63,7 @@ public function populateMessage(DiscordMessage $message, $notifiable) | |||
$message | |||
->content('A new member has been enroll in a war! :boom:') | |||
->embed(function (DiscordEmbed $embed) { | |||
$embed->timestamp($this->notification->timestamp); | |||
$embed->timestamp(carbon($this->notification->timestamp)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about casting the field with carbon in the model instead ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you do that? If so, it's probably a good idea
This reverts commit d432899.
depends on eveseat/eveapi#376, needs to be merged together |
0a1f05b
to
47319c0
Compare