According your code, I assumed you want to do something like users[str(ctx.author.id)]["wallet"]
instead of users[str(user.id)]["wallet"]
1
solved variable refrenced before assignment [closed]
According your code, I assumed you want to do something like users[str(ctx.author.id)]["wallet"]
instead of users[str(user.id)]["wallet"]
1
solved variable refrenced before assignment [closed]