mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 15:45:03 +00:00
automod: add alert action support
This commit is contained in:
parent
46f3932700
commit
40d909fa39
3 changed files with 12 additions and 3 deletions
|
@ -57,5 +57,6 @@
|
|||
"SCHEDULED_MESSAGE": "⏰ {userMention(author)} scheduled a message to be posted to {channelMention(channel)} on {date} at {time} (UTC)",
|
||||
"POSTED_SCHEDULED_MESSAGE": "\uD83D\uDCE8 Posted scheduled message (`{messageId}`) to {channelMention(channel)} as scheduled by {userMention(author)}",
|
||||
|
||||
"BOT_ALERT": "⚠ {tmplEval(body)}"
|
||||
"BOT_ALERT": "⚠ {tmplEval(body)}",
|
||||
"AUTOMOD_ALERT": "{text}"
|
||||
}
|
||||
|
|
|
@ -58,4 +58,5 @@ export enum LogType {
|
|||
POSTED_SCHEDULED_MESSAGE,
|
||||
|
||||
BOT_ALERT,
|
||||
AUTOMOD_ALERT,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue