Adapt DiscordUtil to directory structure change
parent
ef9cb8831e
commit
2e3124406a
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue