mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-14 08:08:34 +02:00
Drop Reply in most cases
This commit is contained in:
@@ -20,7 +20,7 @@ class GuildInfoCommand extends commando.Command {
|
||||
}
|
||||
console.log("[Command] " + message.content);
|
||||
if (message.channel.type === 'dm') {
|
||||
message.reply(":x: This is a DM!");
|
||||
message.channel.sendMessage(":x: This is a DM!");
|
||||
} else {
|
||||
const embed = new Discord.RichEmbed()
|
||||
.setColor(0x00AE86)
|
||||
|
||||
Reference in New Issue
Block a user