Drop Reply in most cases

This commit is contained in:
dragonfire535
2017-03-03 12:19:13 -05:00
parent d6ad30caf9
commit bb9a8b3e0d
42 changed files with 83 additions and 83 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ class CanYouNot extends commando.Command {
if(!message.channel.permissionsFor(this.client.user).hasPermission('READ_MESSAGES')) return;
}
console.log("[Command] " + message.content);
message.reply('Can YOU not?');
message.channel.sendMessage('Can YOU not?');
}
}
+1 -1
View File
@@ -17,7 +17,7 @@ class GiveFlowerCommand extends commando.Command {
if(!message.channel.permissionsFor(this.client.user).hasPermission('READ_MESSAGES')) return;
}
console.log("[Command] " + message.content);
message.reply('Ooh, what a pretty flower. What, I may have it? Thanks! I like flowers, yes? ♪');
message.channel.sendMessage('Ooh, what a pretty flower. What, I may have it? Thanks! I like flowers, yes? ♪');
}
}
+2 -2
View File
@@ -19,9 +19,9 @@ class LotteryCommand extends commando.Command {
console.log("[Command] " + message.content);
let lotterynumber = ['Winner'][Math.floor(Math.random() * 100)];
if(lotterynumber === "Winner") {
message.reply("Wow! You actually won! Great job!");
message.channel.sendMessage("Wow " + message.author.username + "! You actually won! Great job!");
} else {
message.reply("Nope, sorry, you lost. RIP you.");
message.channel.sendMessage("Nope, sorry, " + message.author.username + ", you lost. RIP you.");
}
}
}
+1 -1
View File
@@ -17,7 +17,7 @@ class SlowClapCommand extends commando.Command {
if(!message.channel.permissionsFor(this.client.user).hasPermission('READ_MESSAGES')) return;
}
console.log("[Command] " + message.content);
message.reply('*slow clap*');
message.channel.sendMessage('*slow clap*');
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ class SpamCommand extends commando.Command {
if(!message.channel.permissionsFor(this.client.user).hasPermission('ATTACH_FILES')) return;
}
console.log("[Command] " + message.content);
message.reply("Spam!");
message.channel.sendMessage("Spam!");
message.channel.sendFile("./images/Spam.jpg");
}
}
+2 -2
View File
@@ -22,9 +22,9 @@ class UrbanDictionary extends commando.Command {
let wordtodefine = message.content.split(" ").slice(1).join(" ");
urban(wordtodefine).first(function(json) {
if(json === undefined) {
message.reply(":x: Error! Word not found!");
message.channel.sendMessage(":x: Error! Word not found!");
} else if(json.definition === '') {
message.reply(":x: Error! Word has no definition!");
message.channel.sendMessage(":x: Error! Word has no definition!");
} else if(json.example === '') {
message.channel.sendMessage("**Definition:**\n" + json.definition, {split:{maxLength:1900}});
} else {