diff --git a/bot.py b/bot.py index e4894cf..4d274c2 100644 --- a/bot.py +++ b/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íš?")