mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-24 10:05:03 +00:00
added thread_create and thread_delete automod triggers
This commit is contained in:
parent
6709115166
commit
8052a6f2d8
1 changed files with 3 additions and 0 deletions
|
@ -44,7 +44,10 @@ export async function runAutomod(pluginData: GuildPluginData<AutomodPluginType>,
|
||||||
) {
|
) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
<<<<<<< HEAD
|
||||||
if (!rule.affects_self && userId && userId === pluginData.client.user?.id) continue;
|
if (!rule.affects_self && userId && userId === pluginData.client.user?.id) continue;
|
||||||
|
=======
|
||||||
|
>>>>>>> added thread_create and thread_delete automod triggers
|
||||||
|
|
||||||
if (rule.cooldown && checkAndUpdateCooldown(pluginData, rule, context)) {
|
if (rule.cooldown && checkAndUpdateCooldown(pluginData, rule, context)) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue