3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 15:45:03 +00:00

automod: don't use log system for alert actions, require channel id directly instead; allow disabling logging from specific rules

This commit is contained in:
Dragory 2019-10-11 23:16:15 +03:00
parent 98908e8a9f
commit 08dbfaef5b
4 changed files with 50 additions and 22 deletions

View file

@ -58,6 +58,5 @@
"POSTED_SCHEDULED_MESSAGE": "\uD83D\uDCE8 Posted scheduled message (`{messageId}`) to {channelMention(channel)} as scheduled by {userMention(author)}",
"BOT_ALERT": "⚠ {tmplEval(body)}",
"AUTOMOD_ALERT": "{text}",
"AUTOMOD_ACTION": "\uD83E\uDD16 Automod rule **{rule}** triggered by {userMention(user)}. Actions taken: **{actionsTaken}**\n{matchSummary}"
}

View file

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