mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-18 05:49:49 +02:00
Drop Reply in most cases
This commit is contained in:
@@ -21,7 +21,7 @@ class PirateCommand extends commando.Command {
|
||||
let messagecontent = message.content.split(" ").slice(1).join(" ");
|
||||
let pirate = pirateSpeak.translate(messagecontent);
|
||||
if(messagecontent === "") {
|
||||
message.reply(":x: Error! Nothing to translate!");
|
||||
message.channel.sendMessage(":x: Error! Nothing to translate!");
|
||||
} else {
|
||||
message.channel.sendMessage(pirate);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user