diff --git a/commands/search/urban.js b/commands/search/urban.js index c7267c47..64c297f2 100644 --- a/commands/search/urban.js +++ b/commands/search/urban.js @@ -26,9 +26,9 @@ class UrbanDictionary extends commando.Command { } else if(json.definition === '') { message.channel.sendMessage(":x: Error! Word has no definition!"); } else if(json.example === '') { - message.channel.sendMessage("**Definition:**\n" + json.definition, {split:{maxLength:1900}}); + message.channel.sendMessage("**Definition:**\n" + json.definition, {split:true}); } else { - message.channel.sendMessage("**Definition:**\n" + json.definition + "\n\n**Example:**\n" + json.example, {split:{maxLength:1900}}); + message.channel.sendMessage("**Definition:**\n" + json.definition + "\n\n**Example:**\n" + json.example, {split:true}); } }); } diff --git a/commands/textedit/pirate.js b/commands/textedit/pirate.js index 4ddc184c..6774b094 100644 --- a/commands/textedit/pirate.js +++ b/commands/textedit/pirate.js @@ -23,7 +23,7 @@ class PirateCommand extends commando.Command { if(messagecontent === "") { message.channel.sendMessage(":x: Error! Nothing to translate!"); } else { - message.channel.sendMessage(pirate, {split:{maxLength:1900}}); + message.channel.sendMessage(pirate, {split:true}); } } }