mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 20:30:58 -05:00
Fix automod preventing autoresponses from responding to non-staff
This commit is contained in:
parent
3c8e5355ac
commit
282c833b8f
@ -50,7 +50,10 @@ export default class MessageCreate {
|
||||
};
|
||||
|
||||
for (const rule of Object.values(automodRules)) {
|
||||
if (await rule.check()) await rule.action();
|
||||
if (!automodded && await rule.check()) {
|
||||
await rule.action();
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
if (message.guildId === client.config.dcServer.id && !automodded) client.userLevels.messageIncremental(message.author.id);
|
||||
|
Loading…
Reference in New Issue
Block a user