diff --git a/modules/rand.py b/modules/rand.py index 6d920e3..c8e3dce 100755 --- a/modules/rand.py +++ b/modules/rand.py @@ -64,6 +64,9 @@ def rand_letters(bot, trigger): except (ValueError, TypeError): return bot.reply("Arguments must be of integer type") + if num_letters > 200: + num_letters = 200 + msg = [] for _ in range(num_letters): c = random.choice(string.ascii_lowercase + "aioue" * num_vowels)