Skip to content
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

Merged
merged 46 commits into from
Jul 9, 2023
Merged

Conversation

recursivetree
Copy link
Contributor

@@ -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));
Copy link
Member

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 ?

Copy link
Contributor Author

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

@recursivetree
Copy link
Contributor Author

depends on eveseat/eveapi#376, needs to be merged together

@recursivetree recursivetree force-pushed the clean-discord-fixes branch from 0a1f05b to 47319c0 Compare July 2, 2023 10:08
@warlof warlof merged commit 2cf4754 into eveseat:5.0.x Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants