Files
BongaTheProto 8bf3366f57 You're NOT escaping the discord verif
Not even TG's systems can save you now!

Funnily enough the discord subsystem is from TG as well xd
2022-06-05 02:12:38 -05:00

11 lines
860 B
Plaintext

/client/ooc(msg as text)
var/vibe_check = SSdiscord?.check_login(usr)
if(isnull(vibe_check))
to_chat(usr, span_notice("The server is still starting up. Please wait... "))
return
else if(vibe_check == FALSE) //Dirty but I guess we gotta tell when the subsystem hasn't started
to_chat(usr, span_warning("You must link your discord account to your ckey in order to join the game. Join our <a style=\"color: #ff00ff;\" href=\"[CONFIG_GET(string/discordurl)]\">discord</a> and use the <span style=\"color: #ff00ff;\">[CONFIG_GET(string/discordbotcommandprefix)][CONFIG_GET(string/verification_command)]</span> command [CONFIG_GET(string/verification_channel) ? "as indicated in #[CONFIG_GET(string/verification_channel)] " : ""]. It won't take you more than two minutes :)<br>Ahelp or ask staff in the discord if this is an error."))
return
. = ..()