3
0
Fork 0
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:
Dragory 2019-09-30 00:47:19 +03:00
parent 46f3932700
commit 40d909fa39
3 changed files with 12 additions and 3 deletions

View file

@ -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}"
}

View file

@ -58,4 +58,5 @@ export enum LogType {
POSTED_SCHEDULED_MESSAGE,
BOT_ALERT,
AUTOMOD_ALERT,
}