1
0
Fork 0

Adapt DiscordUtil to directory structure change

master
Anonymous Contributor 2023-09-05 22:00:18 +02:00
parent ef9cb8831e
commit 2e3124406a
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class DiscordUtil
{
public static function sendMessageToWebhook($webhook, $title, $message): void
{
$rawMessage = file_get_contents("style/discordMessage.json");
$rawMessage = file_get_contents("data/discordMessage.json");
$rawMessage = str_replace("%%message%%", $message, $rawMessage);
$rawMessage = str_replace("%%title%%", $title, $rawMessage);