summaryrefslogtreecommitdiff
path: root/npc/commands/discord.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/discord.txt')
-rw-r--r--npc/commands/discord.txt6
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;
}