From a751e328f85fab7e71b01edfdd89f0d25ad8069a Mon Sep 17 00:00:00 2001 From: Matt C Date: Tue, 25 Jan 2022 23:24:07 -0500 Subject: [PATCH] type casting :upside_down: --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 82ebe46..d6932f0 100644 --- a/bot.py +++ b/bot.py @@ -16,7 +16,7 @@ async def distrohop(ctx, *, count=None): else: distrohops = 0 if count != None: - distrohops += count + distrohops += int(count) with open("miku_distrohops.txt", "w") as f: f.write(str(distrohops)) await ctx.send("Miku distrohops: " + str(distrohops))