From d7ec46b4068466b11881e2e82c92b107d3d48783 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 19 Mar 2018 22:29:42 -0400 Subject: limit --- commands/Utility/character.js | 1 + 1 file changed, 1 insertion(+) (limited to 'commands/Utility') diff --git a/commands/Utility/character.js b/commands/Utility/character.js index 3cca778..7d7ec6d 100644 --- a/commands/Utility/character.js +++ b/commands/Utility/character.js @@ -26,6 +26,7 @@ exports.run = (bot, msg, args) => { .setColor('#000'); const str = args.join(' '); + if (str.length > 500) return msg.reply('The limit is 500 for how many characters you can input'); const array = str.split(''); let decimal = ''; -- cgit v1.2.3