type casting :upside_down:

pull/1/head
Matt C 3 years ago
parent 7b457b757b
commit a751e328f8

@ -16,7 +16,7 @@ async def distrohop(ctx, *, count=None):
else: else:
distrohops = 0 distrohops = 0
if count != None: if count != None:
distrohops += count distrohops += int(count)
with open("miku_distrohops.txt", "w") as f: with open("miku_distrohops.txt", "w") as f:
f.write(str(distrohops)) f.write(str(distrohops))
await ctx.send("Miku distrohops: " + str(distrohops)) await ctx.send("Miku distrohops: " + str(distrohops))

Loading…
Cancel
Save