mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-18 21:40:49 +02:00
Drop Reply in most cases
This commit is contained in:
@@ -20,10 +20,10 @@ class ContactCommand extends commando.Command {
|
||||
console.log("[Command] " + message.content);
|
||||
let banid = message.author.id;
|
||||
if (message.author.id === banlist.banned[banid]) {
|
||||
message.reply("Sorry, you've been banned from using this command.");
|
||||
message.channel.sendMessage("Sorry, you've been banned from using this command.");
|
||||
} else {
|
||||
this.client.users.get('242699360352206850').sendMessage("**" + message.author.username + '#' + message.author.discriminator + " (" + message.author.id + ")" + ":**\n" + message.content.split(" ").slice(1).join(" "));
|
||||
message.reply('Message Sent! Thanks for your support!');
|
||||
message.channel.sendMessage('Message Sent! Thanks for your support!');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ class InviteCommand extends commando.Command {
|
||||
if(!message.channel.permissionsFor(this.client.user).hasPermission('READ_MESSAGES')) return;
|
||||
}
|
||||
console.log("[Command] " + message.content);
|
||||
message.reply("\nAdd me to your server with this link:\n" + "https://discordapp.com/oauth2/authorize?client_id=278305350804045834&scope=bot&permissions=519238" + "\nOr, come to my server with this link:\n" + "https://discord.gg/fqQF8mc");
|
||||
message.channel.sendMessage("\nAdd me to your server with this link:\n" + "https://discordapp.com/oauth2/authorize?client_id=278305350804045834&scope=bot&permissions=519238" + "\nOr, come to my server with this link:\n" + "https://discord.gg/fqQF8mc");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user