diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-03-19 22:29:42 -0400 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-03-19 22:29:42 -0400 |
| commit | d7ec46b4068466b11881e2e82c92b107d3d48783 (patch) | |
| tree | 9b3103a36f1e223e13a76ca12ddf66f10f605a7d /commands | |
| parent | 99d3b21dc453ff8d0409d8d0c6df59a70de2b105 (diff) | |
| download | PokeBot-d7ec46b4068466b11881e2e82c92b107d3d48783.tar.gz PokeBot-d7ec46b4068466b11881e2e82c92b107d3d48783.tar.bz2 PokeBot-d7ec46b4068466b11881e2e82c92b107d3d48783.zip | |
limit
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/Utility/character.js | 1 |
1 files changed, 1 insertions, 0 deletions
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 = ''; |
