mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Cleanup Stray Commands
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = class EmojiCommand extends commando.Command {
|
||||
|
||||
async run(message) {
|
||||
if(message.channel.type !== 'dm') {
|
||||
if(!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES', 'EMBED_LINKS'])) return;
|
||||
if(!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log("[Command] " + message.content);
|
||||
if (message.channel.type !== 'dm') {
|
||||
|
||||
@@ -11,7 +11,7 @@ module.exports = class MemeCommand extends commando.Command {
|
||||
group: 'imageedit',
|
||||
memberName: 'meme',
|
||||
description: "Sends a Meme with text of your choice, and a background of your choice. Split first and second lines with a | (;meme facepalm I can't even | comprehend this)",
|
||||
examples: [";meme facepalm I can't even | comprehend this"]
|
||||
examples: [";meme facepalm I can't even | comprehend this", ";meme list"]
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ module.exports = class PotatoCommand extends commando.Command {
|
||||
});
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
async run(message) {
|
||||
if(message.channel.type !== 'dm') {
|
||||
if(!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES', 'ATTACH_FILES'])) return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user