Closed blanksuspect closed 3 years ago
Cog
Describe the feature you'd like to see I would like to be able to use the send-to-channel action to ping a mentionable role.
send-to-channel
For instance, if an on-emergency event was triggered, I'd like to be able to send a message to a specific channel like:
on-emergency
send-to-channel: [HelperAlerts, "@HelperRole, Emergency Mode has been enabled."] where HelperRole is set to allow mentions.
send-to-channel: [HelperAlerts, "@HelperRole, Emergency Mode has been enabled."]
Added in https://github.com/Twentysix26/x26-Cogs/commit/fc3e898fc5db685c8e5955e1ebf0f9b12f1aaac4
The message context variable is escaped automatically to prevent unwanted mentions coming from external sources
Cog
Describe the feature you'd like to see I would like to be able to use the
send-to-channel
action to ping a mentionable role.For instance, if an
on-emergency
event was triggered, I'd like to be able to send a message to a specific channel like:send-to-channel: [HelperAlerts, "@HelperRole, Emergency Mode has been enabled."]
where HelperRole is set to allow mentions.