Skip to content

Commit

Permalink
fix: duplicated messages on discord notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
ellite committed May 17, 2024
1 parent 34493f7 commit 9571beb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions endpoints/cronjobs/sendnotifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,7 @@
}

$postfields = [
'content' => $message,
'embeds' => [
[
'title' => $title,
'description' => $message,
'color' => hexdec("FF0000")
]
]
'content' => $message
];

if (!empty($discord['bot_username'])) {
Expand Down

0 comments on commit 9571beb

Please sign in to comment.