3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-23 17:45:03 +00:00
This commit is contained in:
almeidx 2021-10-31 18:18:07 +00:00
parent eb2c9911e4
commit e12d544e2c
No known key found for this signature in database
GPG key ID: F403F80B79353CB4

View file

@ -44,10 +44,8 @@ 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;