#How to get Username from user_id
1 messages · Page 1 of 1 (latest)
Hey! Once your issue is solved, press the button below to close this thread!
is there a way without using asynchronous python?
actually, I can do with async, will just be annoying for me
You can use the requests library. And make the request to discord manually
what would the endpoint be?
Integrate your service with Discord — whether it's a bot or a game or whatever your wildest imagination can come up with.
ohh ok
https://discord.com/api/users/<id>
you need a header with
Authorization: Bot <token>
do you know how many requests i can send per min so i dont get ratelimited?
It is dynamic. I can not give you a set limit. I still do recommend you use the library and async.
ok will do this
found another solution, thanks for the info tho