From e40050f25cf6eeb3c12df51a04b9c48c575e91c1 Mon Sep 17 00:00:00 2001 From: Riccardo H Date: Sun, 10 Feb 2019 21:12:41 +0100 Subject: [PATCH] Update misc.sp --- addons/sourcemod/scripting/surftimer/misc.sp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/sourcemod/scripting/surftimer/misc.sp b/addons/sourcemod/scripting/surftimer/misc.sp index 52c8b58..f1b18b0 100644 --- a/addons/sourcemod/scripting/surftimer/misc.sp +++ b/addons/sourcemod/scripting/surftimer/misc.sp @@ -4425,14 +4425,14 @@ public void sendDiscordAnnouncement(char szName[32], char szMapName[128], char s DiscordWebHook hook = new DiscordWebHook(webhook); hook.SlackMode = true; - hook.SetUsername("SurfTimer Records"); + hook.SetUsername("z4lab Surf Records"); // Format The Message char szMessage[256]; - Format(szMessage, sizeof(szMessage), "```md\n# New Server Record #\n\n [%s] eat the Server Record on < %s > with time < %s > in the < %s >```", szName, szMapName, szTime, g_sServerName); + Format(szMessage, sizeof(szMessage), "```md\n# New Server Record on %s Server #\n\n[%s] beat the Server Record on < %s > with time < %s > in the < %s > ]:```", g_sServerName, szName, szMapName, szTime); - hook.Message(szMessage); + hook.SetContent(szMessage); hook.Send(); delete hook; }