Skip to content

Commit 07a2b44

Browse files
authored
Fix incorrect value
1 parent a5567aa commit 07a2b44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ async def rob(ctx:SlashContext, user:discord.User):
437437
async def bankrob(ctx:SlashContext, user:discord.User):
438438
if plugins.economy == False: pass
439439
if currency['wallet'][str(user.id)] < 10000: return await ctx.reply('You really want to risk losing your life to a poor person? (imagine robbing someone with < 10k net worth)')
440-
elif currency['wallet'][str(ctx.author.id)] < 5000: return await ctx.reply('You have less than 10k in your wallet. Don\'t be greedy.')
440+
elif currency['wallet'][str(ctx.author.id)] < 10000: return await ctx.reply('You have less than 10k in your wallet. Don\'t be greedy.')
441441
if random.randint(1, 100) <= 20:
442442
x = random.randint(10000, currency['wallet'][str(user.id)])
443443
currency['wallet'][str(ctx.author.id)] += x

0 commit comments

Comments
 (0)