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

added thread_create and thread_delete automod triggers

This commit is contained in:
almeidx 2021-08-29 15:05:02 +01:00
parent 6709115166
commit 8052a6f2d8
No known key found for this signature in database
GPG key ID: F403F80B79353CB4

View file

@ -44,7 +44,10 @@ export async function runAutomod(pluginData: GuildPluginData<AutomodPluginType>,
) {
continue;
}
<<<<<<< HEAD
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)) {
continue;