mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 14:21:41 +02:00
Remove Help Examples
This commit is contained in:
@@ -11,8 +11,7 @@ module.exports = class EmojiCommand extends Command {
|
||||
],
|
||||
group: 'guildinfo',
|
||||
memberName: 'emoji',
|
||||
description: 'Gives a list of the current server\'s emoji. (x;emoji)',
|
||||
examples: ['x;emoji'],
|
||||
description: 'Gives a list of the current server\'s custom emoji.',
|
||||
guildOnly: true
|
||||
});
|
||||
}
|
||||
@@ -21,6 +20,6 @@ module.exports = class EmojiCommand extends Command {
|
||||
if (message.channel.type !== 'dm') {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
return message.say(message.guild.emojis.map(e => e).join('')).catch(() => message.say(':x: Error! Something went wrong!'));
|
||||
return message.say(message.guild.emojis.map(e => e).join('')).catch(() => message.say(':x: Error! Perhaps you have no custom emoji?'));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -14,8 +14,7 @@ module.exports = class GuildInfoCommand extends Command {
|
||||
],
|
||||
group: 'guildinfo',
|
||||
memberName: 'server',
|
||||
description: 'Gives some info on the current server. (x;server)',
|
||||
examples: ['x;server'],
|
||||
description: 'Gives some info on the current server.',
|
||||
guildOnly: true
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user