Add discord button to top

This commit is contained in:
Chompstation Bot
2021-07-03 21:20:55 +00:00
parent 654ef75433
commit ecfa52682c
5 changed files with 3608 additions and 123 deletions

View File

@@ -67,6 +67,19 @@
to_chat(src, "<span class='danger'>The GitHub URL is not set in the server configuration.</span>")
return
/client/verb/discord()
set name = "Discord"
set desc = "Visit the discord"
set hidden = 1
if(config.discordurl)
if(tgui_alert(usr, "This will open the Discord in your browser. Are you sure?","Visit Website",list("Yes","No"))=="No")
return
src << link(config.discordurl)
else
to_chat(src, "<span class='danger'>The Discord URL is not set in the server configuration.</span>")
return
/client/verb/hotkeys_help()
set name = "hotkeys-help"
set category = "OOC"