Nostrum.Api.get_guild_application_commands

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

get_guild_application_commands(application_id \\ Me.get().id, guild_id)

View Source

Specs

get_guild_application_commands(
  Nostrum.Struct.User.id(),
  Nostrum.Struct.Guild.id()
) :: {:ok, [map()]} | error()

Fetch all guild application commands for the given guild.

Parameters

  • application_id: Application ID for which to fetch commands. If not given, this will be fetched from Me.
  • guild_id: The guild ID for which guild application commands should be requested.

Return value

A list of ApplicationCommands on success. See the official reference: https://discord.com/developers/docs/interactions/slash-commands#applicationcommand