mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35:02 +00:00
Centralize DM logic, don't attempt DMs for an hour after a 20026 error
This commit is contained in:
parent
1d4c32d8f9
commit
902be16ae8
5 changed files with 60 additions and 16 deletions
|
@ -47,6 +47,7 @@
|
|||
"CLEAN": "🚿 {userMention(mod)} cleaned **{count}** message(s) in {channelMention(channel)}\n{archiveUrl}",
|
||||
|
||||
"CASE_CREATE": "✏ {userMention(mod)} manually created new **{caseType}** case (#{caseNum})",
|
||||
"CASE_DELETE": "✂️ **Case #{case.case_number}** was deleted by {userMention(mod)}",
|
||||
|
||||
"MASSBAN": "⚒ {userMention(mod)} massbanned {count} users",
|
||||
"MASSMUTE": "📢🚫 {userMention(mod)} massmuted {count} users",
|
||||
|
@ -63,10 +64,9 @@
|
|||
"POSTED_SCHEDULED_MESSAGE": "\uD83D\uDCE8 Posted scheduled message (`{messageId}`) to {channelMention(channel)} as scheduled by {userMention(author)}",
|
||||
|
||||
"BOT_ALERT": "⚠ **BOT ALERT:** {tmplEval(body)}",
|
||||
"DM_FAILED": "\uD83D\uDEA7 Failed to send DM ({source}) to {userMention(user)}",
|
||||
|
||||
"AUTOMOD_ACTION": "\uD83E\uDD16 Automod rule **{rule}** triggered by {userMention(users)}\n{matchSummary}\nActions taken: **{actionsTaken}**",
|
||||
|
||||
"SET_ANTIRAID_USER": "⚔ {userMention(user)} set anti-raid to **{level}**",
|
||||
"SET_ANTIRAID_AUTO": "⚔ Anti-raid automatically set to **{level}**",
|
||||
|
||||
"CASE_DELETE": "✂️ **Case #{case.case_number}** was deleted by {userMention(mod)}"
|
||||
"SET_ANTIRAID_AUTO": "⚔ Anti-raid automatically set to **{level}**"
|
||||
}
|
||||
|
|
|
@ -77,4 +77,6 @@ export enum LogType {
|
|||
MEMBER_NOTE,
|
||||
|
||||
CASE_DELETE,
|
||||
|
||||
DM_FAILED,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue