From d5c055eb9adc31d86fc21bc070e242e930515cee Mon Sep 17 00:00:00 2001 From: khuxkm fbexl Date: Wed, 6 Nov 2019 12:32:07 -0500 Subject: [PATCH] Fix error --- commands/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/generate.py b/commands/generate.py index d123292..8960ec9 100644 --- a/commands/generate.py +++ b/commands/generate.py @@ -34,7 +34,7 @@ def generate(bot,channel,nick,generator,count="1"): if generator not in GENERATORS_LIST: bot.say(channel,"{}: Invalid generator!".format(nick)) count = int(count) - res = [GENERATOR[generator]() for x in range(count)] + res = [GENERATORS[generator]() for x in range(count)] if generator!="idea": res = [titlecase.titlecase(x) for x in res] bot.say(channel,"{}: {}".format(nick,",".join(res)))