diff --git a/core/src/discord.cpp b/core/src/discord.cpp index d0f093b..1526101 100644 --- a/core/src/discord.cpp +++ b/core/src/discord.cpp @@ -71,6 +71,8 @@ QJsonDocument Discord::constructModcallJson(const QString &f_name, const QString {"description", f_reason} }; l_array.append(l_object); + + if (!ConfigManager::discordModcallWebhookContent().isEmpty()) l_json["content"] = ConfigManager::discordModcallWebhookContent(); l_json["embeds"] = l_array;