mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 14:04:38 +02:00
return and await
This commit is contained in:
@@ -36,7 +36,7 @@ client.registry
|
||||
})
|
||||
.registerCommandsIn(path.join(__dirname, 'commands'));
|
||||
|
||||
client.on('message', (message) => {
|
||||
client.on('message', message => {
|
||||
if (message.author.bot) return;
|
||||
if (message.channel.type === 'dm') return;
|
||||
if (message.content.startsWith(`<@${client.user.id}>`)) {
|
||||
|
||||
Reference in New Issue
Block a user