Search code examples
discordaccess-token

Is it possible to find out what discord bot a token belongs to?


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?


Solution

  • 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