mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 18:05:01 +02:00
return and await
This commit is contained in:
@@ -16,6 +16,6 @@ module.exports = class SpamCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES', 'ATTACH_FILES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
message.channel.sendFile("./images/Spam.jpg");
|
||||
return message.channel.sendFile("./images/Spam.jpg");
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user