Add owner information to /applications/@me endpoint

(#992) Feature Shipped api

Problem

I'm trying to get information about the owner of the application from my bot so that I can automatically know, who should have access to the bot owner commands.

Proposed solution

Add an owner key with partial user info to the application object returned by /applications/@me endpoint, similarly to what Discord does: https://docs.discord.com/developers/resources/application#application-object

1 comment

Sign in with Fluxer to comment and vote.
Comment by Hampus
HampusStaff 1 vote originally by @hampus-fluxer on GitHub
This has been fixed for some time now. Send Authorization: Bot <token> to /applications/@me and you should receive the owner field. Closing!