From 265e102c43278eb64a7e307b34303debdcba8bdf Mon Sep 17 00:00:00 2001 From: AffectedArc07 Date: Tue, 5 Feb 2019 19:13:34 +0000 Subject: [PATCH] Makes ID getting more user friendly --- code/modules/discord/accountlink.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/discord/accountlink.dm b/code/modules/discord/accountlink.dm index b03e8af2142..c2091082f6c 100644 --- a/code/modules/discord/accountlink.dm +++ b/code/modules/discord/accountlink.dm @@ -17,7 +17,10 @@ while(db_discord_id.NextRow()) stored_id = db_discord_id.item[1] if(!stored_id) // Not linked - var/entered_id = input("Please enter your Discord ID. Instructions can be found at https://bit.ly/2AfUu40", "Enter Discord ID", null, null) as text|null + var/know_how = alert("Do you know how to get a discord user ID?","Question","Yes","No") + if(know_how == "No") // Opens discord support on how to collect IDs + src << link("https://support.discordapp.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID") + var/entered_id = input("Please enter your Discord ID.", "Enter Discord ID", null, null) as text|null var/sql_id = sanitizeSQL(entered_id) var/DBQuery/store_discord_id = dbcon.NewQuery("INSERT INTO [format_table_name("discord")] (ckey, discord_id, notify) VALUES ('[ckey]', [sql_id], 0)") if(!store_discord_id.Execute())