So pretty much I've been making a little python bot and I already added a command to make a "bank" and have money, and other identifiers.
What I wanted to do is add a command stats
and then mention the user or just use their discord hashtag thing. So for example I'd want the stats from the user "Bob" and I'd write $stats @bob
or $stats bob#0001
and the bot would write out the persons stats in a embed message.
Problem how to get the user's id from the mention since all stats are ofc saved in the user's ID in the json file.
Anyone have an idea how? Maybe i've missed something in the documentation but I am not too sure about that.