Fix calls to Bot.say
This commit is contained in:
parent
64a438a920
commit
672e0ec5d8
|
@ -14,9 +14,9 @@ def ask(bot,channel,nick,subcmd,*args):
|
||||||
@ask.command("c")
|
@ask.command("c")
|
||||||
def ask_char(bot,channel,nick,*args):
|
def ask_char(bot,channel,nick,*args):
|
||||||
question = random.choice(chars)
|
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")
|
@ask.command("w")
|
||||||
def ask_world(bot,channel,nick,*args):
|
def ask_world(bot,channel,nick,*args):
|
||||||
question = random.choice(world)
|
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))
|
||||||
|
|
Loading…
Reference in New Issue