diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-09-20 20:42:54 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-09-20 20:42:54 -0300 |
commit | 4e3eb2b1fdc7000571bc955a284fdd644a8abea8 (patch) | |
tree | 38636d308eae05a52f456628486ceafe700c153a /npc/commands/discord.txt | |
parent | 03bad31d7fe788a25a91e1097c376a763f560713 (diff) | |
download | serverdata-4e3eb2b1fdc7000571bc955a284fdd644a8abea8.tar.gz serverdata-4e3eb2b1fdc7000571bc955a284fdd644a8abea8.tar.bz2 serverdata-4e3eb2b1fdc7000571bc955a284fdd644a8abea8.tar.xz serverdata-4e3eb2b1fdc7000571bc955a284fdd644a8abea8.zip |
Update some of the debugmes for usage with syslog facility
Diffstat (limited to 'npc/commands/discord.txt')
-rw-r--r-- | npc/commands/discord.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/commands/discord.txt b/npc/commands/discord.txt index 9e65fab81..0de4b9ca0 100644 --- a/npc/commands/discord.txt +++ b/npc/commands/discord.txt @@ -101,11 +101,12 @@ OnCall: // Send to API and update cache api_send(API_DISCORD, .@p$); htput(.discmem, str(getcharid(3)), .@discord$); + consoleinfo("%s linked discord account \"%s\".", strcharinfo(0), .@discord$); // Prevent changing for the next 3 days - DISCTRL=gettimeparam(GETTIME_DAYOFMONTH)+3; + DISCTRL=gettimeparam(GETTIME_DAYOFMONTH)+2; mesc l("Linking requested."), 1; - mesc l("This setting can only be changed every %d days.", 3), 1; + mesc l("This setting can only be changed every %d days.", 2), 1; break; ///////////////////////////////////////////////////////////////////// case 2: @@ -117,6 +118,7 @@ OnCall: htput(.discmem, str(getcharid(3)), ""); // TODO: Remove Adventurer role? logmes(sprintf("User %d \"%s\" unlinked Discord account!", getcharid(3), strcharinfo(0))); + consoleinfo("%s removed Discord account.", strcharinfo(0)); break; } |