mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 10:19:11 +02:00
More Formatting Woot
This commit is contained in:
@@ -23,7 +23,7 @@ module.exports = class PirateCommand extends commando.Command {
|
||||
console.log("[Command] " + message.content);
|
||||
let turnToPirate = message.content.split(" ").slice(1).join(" ");
|
||||
let pirate = pirateSpeak.translate(turnToPirate);
|
||||
if (turnToPirate === "") {
|
||||
if (!turnToPirate) {
|
||||
message.channel.send(":x: Error! Nothing to translate!");
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user