From e0ad36126248c7bb7d8ef44952db8e47432c43a1 Mon Sep 17 00:00:00 2001 From: Stefan Date: Wed, 20 Dec 2023 18:42:59 +0100 Subject: [PATCH] Actual fix this time --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 4e45272..231e118 100644 --- a/bot.py +++ b/bot.py @@ -91,7 +91,7 @@ async def russian_roulette(interraction: discord.Interaction): if did_shoot: import datetime - await interraction.user.timeout(datetime.timedelta(minutes=5), "Du sköt dig själv i huvudet ☠️") + await interraction.user.timeout(datetime.timedelta(minutes=5), reason="Du sköt dig själv i huvudet ☠️") embed.add_field(name="Resultat", value="Sköt sig själv ☠️" if did_shoot else "Överlevde rundan 🎉")