From 35bcb4acf8df0e2a749e1928e147301875f01666 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 16 Oct 2018 19:41:55 -0300 Subject: 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 --- npc/commands/discord.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'npc/commands/discord.txt') 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)); -- cgit v1.2.3-60-g2f50