mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
[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:
co-authored by
Jordan Brown
parent
70ddd4aa08
commit
418778e7cb
@@ -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 ..()
|
||||
|
||||
Reference in New Issue
Block a user