mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-22 12:16:40 +01:00
Not even TG's systems can save you now! Funnily enough the discord subsystem is from TG as well xd
11 lines
861 B
Plaintext
11 lines
861 B
Plaintext
/client/looc(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
|
|
|
|
. = ..()
|