(discord.py) Economy data - Replit DB?
meziosaur (0)

Hello
I needed some guidance, I wanted to save 4 kinds of currencies per user into a replitDB.

I'm kinda lost and not sure where to start with it.
Would I need a key per user like so:
(User_id)(coin_id)=amount

It's this the right train of thought?

You are viewing a single comment. View All
OldWizard209 (1702)

Are you sure you can access a value in a dictionary in Python using a dot notation? You are using the concept of JavaScript Objects in this example:

db[user.id]
@Coder100