mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-27 10:41:42 +00:00
SSdiscord tweaks (#14899)
* SSdiscord tweaks * Update code/modules/admin/verbs/adminhelp.dm
This commit is contained in:
@@ -252,14 +252,14 @@
|
||||
/// Role ID to be pinged for administrative events
|
||||
var/discord_admin_role_id = null // Intentional null usage
|
||||
|
||||
/// Webhook URL for the main public webhook
|
||||
var/discord_main_webhook_url
|
||||
/// Webhook URLs for the main public webhook
|
||||
var/list/discord_main_webhook_urls = list()
|
||||
|
||||
/// Webhook URL for the admin webhook
|
||||
var/discord_admin_webhook_url
|
||||
/// Webhook URLs for the admin webhook
|
||||
var/list/discord_admin_webhook_urls = list()
|
||||
|
||||
/// Webhook URL for the mentor webhook
|
||||
var/discord_mentor_webhook_url
|
||||
/// Webhook URLs for the mentor webhook
|
||||
var/list/discord_mentor_webhook_urls = list()
|
||||
|
||||
/// Do we want to forward all adminhelps to the discord or just ahelps when admins are offline.
|
||||
/// (This does not mean all ahelps are pinged, only ahelps sent when staff are offline get the ping, regardless of this setting)
|
||||
@@ -749,11 +749,11 @@
|
||||
if("discord_webhooks_admin_role_id")
|
||||
discord_admin_role_id = "[value]" // This MUST be a string because BYOND doesnt like massive integers
|
||||
if("discord_webhooks_main_url")
|
||||
discord_main_webhook_url = value
|
||||
discord_main_webhook_urls = splittext(value, "|")
|
||||
if("discord_webhooks_admin_url")
|
||||
discord_admin_webhook_url = value
|
||||
discord_admin_webhook_urls = splittext(value, "|")
|
||||
if("discord_webhooks_mentor_url")
|
||||
discord_mentor_webhook_url = value
|
||||
discord_mentor_webhook_urls = splittext(value, "|")
|
||||
if("discord_forward_all_ahelps")
|
||||
discord_forward_all_ahelps = TRUE
|
||||
// End discord stuff
|
||||
|
||||
Reference in New Issue
Block a user