I got multiple discord bots and sometimes it would be useful to find out to what bot a token belongs to via the API or some other way?
I'm using Javachord and I've found there's a getYourself()
in DiscordApi
that returns a User
which represents the current bot.
I'm not sure how that maps to the Discord API itself though