From 672e0ec5d8e02d897e2ad98536ab4dffe0fa752a Mon Sep 17 00:00:00 2001 From: khuxkm fbexl Date: Sun, 3 Nov 2019 12:12:43 -0500 Subject: [PATCH] Fix calls to Bot.say --- commands/ask.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/ask.py b/commands/ask.py index 1079d42..ee3b9bc 100644 --- a/commands/ask.py +++ b/commands/ask.py @@ -14,9 +14,9 @@ def ask(bot,channel,nick,subcmd,*args): @ask.command("c") def ask_char(bot,channel,nick,*args): question = random.choice(chars) - bot.say(channel,nick,"{}: {!s}. {}".format(nick,chars.index(question),question)) + bot.say(channel,"{}: {!s}. {}".format(nick,chars.index(question),question)) @ask.command("w") def ask_world(bot,channel,nick,*args): question = random.choice(world) - bot.say(channel,nick,"{}: {!s}. {}".format(nick,world.index(question),question)) + bot.say(channel,"{}: {!s}. {}".format(nick,world.index(question),question))