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