Fix calls to Bot.say

This commit is contained in:
Robert Miles 2019-11-03 12:12:43 -05:00
parent 64a438a920
commit 672e0ec5d8
1 changed files with 2 additions and 2 deletions

View File

@ -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))