mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-14 00:08:06 +02:00
String Changes, Don't register tons of defaults
This commit is contained in:
@@ -34,7 +34,7 @@ module.exports = class PirateCommand extends commando.Command {
|
||||
console.log(`[Command] ${message.content}`);
|
||||
const turnToPirate = args.text;
|
||||
const pirate = pirateSpeak.translate(turnToPirate);
|
||||
if (pirate.length > 1950) return message.say(":x: Error! Your message is too long!");
|
||||
if (pirate.length > 1950) return message.say(':x: Error! Your message is too long!');
|
||||
return message.say(pirate);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user