[READY] SSdiscord and Round Notifications (#44231)

* Notify System

* V2

* Adds a hint

* Stoned fixes round 1

* Use grammar wells I can

* This didnt work

* I wish you could test on TGS without committing

* Jordie fixes round 1

* oops

* This took way longer than it should have taken

* Adds in endnotify for serverops

* Spacing
This commit is contained in:
AffectedArc07
2019-06-30 00:43:25 +10:00
committed by Jordie
parent dc2d666a5b
commit c4e75bc40b
14 changed files with 285 additions and 13 deletions
+3 -3
View File
@@ -75,12 +75,12 @@
GLOBAL_LIST(round_end_notifiees)
/datum/tgs_chat_command/notify
name = "notify"
/datum/tgs_chat_command/endnotify
name = "endnotify"
help_text = "Pings the invoker when the round ends"
admin_only = TRUE
/datum/tgs_chat_command/notify/Run(datum/tgs_chat_user/sender, params)
/datum/tgs_chat_command/endnotify/Run(datum/tgs_chat_user/sender, params)
if(!SSticker.IsRoundInProgress() && SSticker.HasRoundStarted())
return "[sender.mention], the round has already ended!"
LAZYINITLIST(GLOB.round_end_notifiees)