mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 08:14:47 +02:00
String Changes, Don't register tons of defaults
This commit is contained in:
@@ -11,7 +11,7 @@ module.exports = class EmojiCommand extends commando.Command {
|
||||
],
|
||||
group: 'guildinfo',
|
||||
memberName: 'emoji',
|
||||
description: "Gives a list of the current server's emoji. (;emoji)",
|
||||
description: 'Gives a list of the current server\'s emoji. (;emoji)',
|
||||
examples: [';emoji'],
|
||||
guildOnly: true
|
||||
});
|
||||
@@ -22,6 +22,6 @@ module.exports = class EmojiCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
return message.say(message.guild.emojis.map(e => e).join(" "));
|
||||
return message.say(message.guild.emojis.map(e => e).join(' '));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -40,7 +40,7 @@ module.exports = class GuildInfoCommand extends commando.Command {
|
||||
message.guild.region, true)
|
||||
.addField('**Owner:**',
|
||||
`${message.guild.owner.user.username}#${message.guild.owner.user.discriminator}`, true)
|
||||
.addField("**Users:**",
|
||||
.addField('**Users:**',
|
||||
message.guild.memberCount, true);
|
||||
return message.embed(embed);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user