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 40af0f2359
commit 713333f35e
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}"
}