Nostrum.Api.get_application_information

You're seeing just the function get_application_information, go back to Nostrum.Api module for more information.
Link to this function

get_application_information()

View Source

Specs

get_application_information() :: error() | {:ok, map()}

Gets the bot's OAuth2 application info.

Example

Nostrum.Api.get_application_information
{:ok,
%{
  bot_public: false,
  bot_require_code_grant: false,
  description: "Test",
  icon: nil,
  id: "172150183260323840",
  name: "Baba O-Riley",
  owner: %{
    avatar: nil,
    discriminator: "0042",
    id: "172150183260323840",
    username: "i own a bot"
  },
}}