Support sending channel announcements to multiple channel tags (#89462)

previous system was weird, you had to add a comma separated list in the
channel tag in TGS itself. this is much more intuitive. also it should
not break older configs

🆑
config: Added support for multiple chat channel configs for channel
announcements.
/🆑
This commit is contained in:
Ivory
2025-02-16 06:57:35 +01:00
committed by GitHub
parent 008f727cd4
commit ecdf8bc9c1
6 changed files with 19 additions and 13 deletions
@@ -571,24 +571,24 @@
integer = FALSE
/datum/config_entry/flag/irc_announce_new_game
deprecated_by = /datum/config_entry/string/channel_announce_new_game
deprecated_by = /datum/config_entry/str_list/channel_announce_new_game
/datum/config_entry/flag/irc_announce_new_game/DeprecationUpdate(value)
return "" //default broadcast
/datum/config_entry/string/chat_announce_new_game
deprecated_by = /datum/config_entry/string/channel_announce_new_game
deprecated_by = /datum/config_entry/str_list/channel_announce_new_game
/datum/config_entry/string/chat_announce_new_game/DeprecationUpdate(value)
return "" //default broadcast
/datum/config_entry/string/channel_announce_new_game
/datum/config_entry/str_list/channel_announce_new_game
default = null
/datum/config_entry/string/channel_announce_end_game
/datum/config_entry/str_list/channel_announce_end_game
default = null
/datum/config_entry/string/chat_new_game_notifications
/datum/config_entry/str_list/chat_new_game_notifications
default = null
/// validate ownership of admin flags for chat commands