refactor: update PHP to 8.2

fix: possible division by 0 on statistics page
fix: duplicated messages on discord notifications
docs: update readme
This commit is contained in:
Miguel Ribeiro
2024-05-17 17:03:46 +02:00
committed by GitHub
parent b519376a27
commit d44b40b0ce
5 changed files with 11 additions and 13 deletions
+1 -8
View File
@@ -226,14 +226,7 @@
}
$postfields = [
'content' => $message,
'embeds' => [
[
'title' => $title,
'description' => $message,
'color' => hexdec("FF0000")
]
]
'content' => $message
];
if (!empty($discord['bot_username'])) {