Skip to content

Commit

Permalink
fix: duplicated message on discord notification
Browse files Browse the repository at this point in the history
  • Loading branch information
ellite committed May 17, 2024
1 parent 8d41ea6 commit 20d5dd4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions endpoints/cronjobs/sendnotifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,6 @@

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

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

0 comments on commit 20d5dd4

Please sign in to comment.