typo...
This commit is contained in:
parent
9079329b54
commit
b8246b3960
@ -95,7 +95,7 @@ class ModmailClient extends Client {
|
|||||||
|
|
||||||
const { prefix } = this;
|
const { prefix } = this;
|
||||||
const { channel, guild, content, member } = message;
|
const { channel, guild, content, member } = message;
|
||||||
if (![this.mainServer.idm, this.bansServer?.id || '0'].includes(guild.id)) return;
|
if (![this.mainServer.id, this.bansServer?.id || '0'].includes(guild.id)) return;
|
||||||
if (!content || !content.startsWith(prefix)) return;
|
if (!content || !content.startsWith(prefix)) return;
|
||||||
|
|
||||||
const roles = member.roles.cache.map((r) => r.id);
|
const roles = member.roles.cache.map((r) => r.id);
|
||||||
|
Loading…
Reference in New Issue
Block a user