Fix using tag instead of custom_tag in send2chat (#52675)

* Adds more documentation to TGS chat funcs

* Fix using `tag` instead of `custom_tag` for chat channels

* Make new game notifcation message clearer
This commit is contained in:
Jordan Brown
2020-08-03 13:34:34 -04:00
committed by GitHub
parent 29c3e5b4ce
commit 1e486a34cd
2 changed files with 2 additions and 1 deletions

View File

@@ -58,6 +58,7 @@ SUBSYSTEM_DEF(discord)
pass() // The list can just stay as its default (blank). Pass() exists because it needs a catch
var/notifymsg = jointext(people_to_notify, ", ")
if(notifymsg)
notifymsg += ", a new round is starting!"
send2chat(trim(notifymsg), CONFIG_GET(string/chat_new_game_notifications)) // Sends the message to the discord, using same config option as the roundstart notification
fdel(notify_file) // Deletes the file
return ..()