ZeldaFan0225 / AI_Horde_Discord

A discord bot to interact with https://aihorde.net
GNU Affero General Public License v3.0
50 stars 14 forks source link

Reverse user lookup #30

Closed db0 closed 1 year ago

db0 commented 1 year ago

Add a command where you feed a AI Horde ID, and it will show you the discord username linked to it, if it has been

ZeldaFan0225 commented 1 year ago

but i can't get a user with the horde id only? fetching all users every time and filtering for the users id is a very inefficient way to do it

db0 commented 1 year ago

Sorry I missed this reply. You can absolutely get a user with user_id. /api/v2/users/<id>

ZeldaFan0225 commented 1 year ago

implemented