summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-10-16 19:41:55 -0300
committerJesusaves <cpntb1@ymail.com>2018-10-16 19:41:55 -0300
commit35bcb4acf8df0e2a749e1928e147301875f01666 (patch)
treeba7062a5b7aad7f52cb2a23298762dbef374d439
parentdb783bdca57192a4c8b6ffc0aed509e00ce03d15 (diff)
downloadserverdata-35bcb4acf8df0e2a749e1928e147301875f01666.tar.gz
serverdata-35bcb4acf8df0e2a749e1928e147301875f01666.tar.bz2
serverdata-35bcb4acf8df0e2a749e1928e147301875f01666.tar.xz
serverdata-35bcb4acf8df0e2a749e1928e147301875f01666.zip
Warn players they must confirm the change on web bot. The previous value was
lost, but you were required to use pincode to do the change, so all green... A message to the user on Discord could be nice, but not sure if it can be done
-rw-r--r--npc/commands/discord.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/commands/discord.txt b/npc/commands/discord.txt
index 2b6264519..43c4758c6 100644
--- a/npc/commands/discord.txt
+++ b/npc/commands/discord.txt
@@ -42,6 +42,8 @@ OnCall:
mes "";
query_sql("UPDATE `discord` SET `discord_name` = '"+.@discord$+"' WHERE `account_id` == "+getcharid(3));
query_sql("UPDATE `discord` SET `verified` = '0' WHERE `account_id` == "+getcharid(3));
+ query_sql("UPDATE `discord` SET `discord_id` = '' WHERE `account_id` == "+getcharid(3));
+ mesc l("You must send ##B/verify##b to Discord bot for the linking be complete."), 1;
break;
case 2:
query_sql("DELETE FROM `discord` WHERE `account_id` == "+getcharid(3));