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

revert space

This commit is contained in:
Almeida 2021-10-31 18:35:15 +00:00 committed by GitHub
parent 0f39650d06
commit 0130ec6225
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,6 @@ export async function runAutomod(pluginData: GuildPluginData<AutomodPluginType>,
) {
continue;
}
if (!rule.affects_self && userId && userId === pluginData.client.user?.id) continue;
if (rule.cooldown && checkAndUpdateCooldown(pluginData, rule, context)) {