mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 16:19:12 +02:00
Current Changes are in
This commit is contained in:
@@ -40,10 +40,10 @@ module.exports = class GuildInfoCommand extends commando.Command {
|
||||
`${message.guild.owner.user.username}#${message.guild.owner.user.discriminator}`, true)
|
||||
.addField("**Users:**",
|
||||
message.guild.memberCount, true);
|
||||
return message.channel.sendEmbed(embed).catch(console.error);
|
||||
let embededMessage = await message.channel.sendEmbed(embed);
|
||||
}
|
||||
else {
|
||||
return message.channel.send(":x: Error! This command does not work in DM!");
|
||||
let errorMessage = await message.channel.send(":x: Error! This command does not work in DM!");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user