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

bulk_overwrite_guild_application_commands(application_id \\ Me.get().id, guild_id, commands)

View Source


) :: {:ok, [map()]} | error()

Overwrite the existing guild application commands on the specified guild.

This action will:

  • Create any command that was provided and did not already exist
  • Update any command that was provided and already existed if its configuration changed
  • Delete any command that was not provided but existed on Discord's end


  • application_id: Application ID for which to overwrite the commands. If not given, this will be fetched from Me.
  • guild_id: Guild on which to overwrite the commands.
  • commands: List of command configurations, see the linked API documentation for reference.

Return value

Updated list of guild application commands. See the official reference: