Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Commit

Permalink
Update misc.sp
Browse files Browse the repository at this point in the history
  • Loading branch information
Riccardo H authored and Riccardo H committed Feb 10, 2019
1 parent a601fbe commit e40050f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addons/sourcemod/scripting/surftimer/misc.sp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e40050f

Please sign in to comment.