Skip to content

Commit 7d693d0

Browse files
authored
Merge pull request #14 from notsniped/wallet-patch-1
Patch all commands calling 'wallet'
2 parents ad9064f + 18bb4d6 commit 7d693d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ async def beg(ctx:SlashContext):
336336
chance:int = random.randint(1, 100)
337337
if (chance >= 50):
338338
x:int = random.randint(10, 100)
339-
currency[wallet][str(ctx.author.id)] += x
339+
currency["wallet"][str(ctx.author.id)] += x
340340
save()
341341
await ctx.send(embed=discord.Embed(title='A random person', description=f'"Oh you poor beggar, here\'s {x} for you"'))
342342
else:
@@ -350,7 +350,7 @@ async def scout(ctx:SlashContext):
350350
chance:int = random.randint(1, 100)
351351
if (chance <= 90):
352352
x:int = random.randint(550, 2000)
353-
currency[wallet][str(ctx.author.id)] += x
353+
currency["wallet"][str(ctx.author.id)] += x
354354
save()
355355
await ctx.send(embed=discord.Embed(title='What you found', description=f'You searched your area and found {x} coins!'))
356356
else:

0 commit comments

Comments
 (0)