[MIRROR] up ports a bunch of TGS commands (#11173)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-07-13 05:34:17 -07:00
committed by GitHub
parent 42b68b856b
commit 0160eb3e68
29 changed files with 639 additions and 366 deletions

View File

@@ -744,6 +744,45 @@
/datum/config_entry/flag/discord_ahelps_disabled
default = FALSE
/// So, nodebot is a supplement to the TGS discord bot pretty much. For things likes faxes and the manifest it's very helpful because it's able to render html into an image and post it.
/datum/config_entry/flag/nodebot_enabled
default = FALSE
/// We need to print the manifest to this location so nodebot can render it to chat.
/// NOTE: TO BE REPLACED BY BETTER CODE FOR FETCHING MANIFEST
/datum/config_entry/string/nodebot_location
/datum/config_entry/string/fax_channel_tag
/datum/config_entry/string/role_request_channel_tag
/// These are for the role request TGS discord bot. Role IDs to ping.
/datum/config_entry/string/role_request_id_command
/datum/config_entry/string/role_request_id_security
/datum/config_entry/string/role_request_id_engineering
/datum/config_entry/string/role_request_id_medical
/datum/config_entry/string/role_request_id_research
/datum/config_entry/string/role_request_id_supply
/datum/config_entry/string/role_request_id_service
/datum/config_entry/string/role_request_id_expedition
/datum/config_entry/string/role_request_id_silicon
/// Only turn this on if you're not using the nodebot.
/datum/config_entry/flag/discord_faxes_autoprint
default = FALSE
/// Turn this off if you don't want the TGS bot sending you messages whenever a fax is sent to central.
/datum/config_entry/flag/discord_faxes_disabled
default = FALSE
/// Turn this on if you want all admin-PMs to go to be sent to discord, and not only the first message of a ticket.
/datum/config_entry/flag/discord_ahelps_all
default = FALSE

View File

@@ -61,5 +61,5 @@ SUBSYSTEM_DEF(inactivity)
return ..()
/datum/controller/subsystem/inactivity/proc/can_kick(var/client/C)
if(C.holder) return FALSE //VOREStation Add - Don't kick admins.
if(check_rights_for(C, R_HOLDER|R_MENTOR)) return FALSE //VOREStation Add - Don't kick admins.
return TRUE