mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 00:12:32 +02:00
Drop Reply in most cases
This commit is contained in:
@@ -20,7 +20,7 @@ class UserInfoCommand 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 {
|
||||
let member = message.guild.member(message.mentions.users.first());
|
||||
let stat;
|
||||
@@ -54,7 +54,7 @@ class UserInfoCommand extends commando.Command {
|
||||
break;
|
||||
}
|
||||
if (message.mentions.users.size !== 1) {
|
||||
message.reply(':x: Either too many or no members, only mention one person!');
|
||||
message.channel.sendMessage(':x: Either too many or no members, only mention one person!');
|
||||
} else {
|
||||
if (message.mentions.users.first().presence.game === null) {
|
||||
const embed = new Discord.RichEmbed()
|
||||
|
||||
Reference in New Issue
Block a user