dubleqotes bug repared
This commit is contained in:
parent
e6a63d78c2
commit
e3e2379a57
4
bot.py
4
bot.py
@ -132,9 +132,9 @@ async def funfact(ctx):
|
||||
ran = randrange(len(jokes["funfacts"]))
|
||||
|
||||
try:
|
||||
await ctx.respond(f"Jednou jsem slyšela že: {jokes["funfacts"][ran]["txt"]}")
|
||||
await ctx.respond(f"Jednou jsem slyšela že: {jokes['funfacts'][ran]['txt']}")
|
||||
except:
|
||||
await ctx.send(f"Jednou jsem slyšela že: {jokes["funfacts"][ran]["txt"]}")
|
||||
await ctx.send(f"Jednou jsem slyšela že: {jokes['funfacts'][ran]['txt']}")
|
||||
|
||||
msg = await ctx.send(f"Co myslíš?")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user