[MIRROR] Fix using tag instead of custom_tag in send2chat (#189)

* 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

* Fix using `tag` instead of `custom_tag` in send2chat

Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-08-04 12:18:24 +02:00
committed by GitHub
co-authored by Jordan Brown
parent 70ddd4aa08
commit 418778e7cb
2 changed files with 2 additions and 1 deletions
+1
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 ..()