mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-13 15:58:06 +02:00
Fix Clevs
This commit is contained in:
@@ -50,7 +50,7 @@ client.registry
|
||||
|
||||
client.on('message', async (msg) => {
|
||||
if (msg.author.bot) return;
|
||||
if (msg.channel.type === 'dm')
|
||||
if (msg.channel.type !== 'dm')
|
||||
if (!msg.channel.permissionsFor(client.user).has('SEND_MESSAGES')) return;
|
||||
if (msg.isMentioned(client.user)) {
|
||||
msg.channel.startTyping();
|
||||
|
||||
Reference in New Issue
Block a user