Nostrum.Api.update_shard_status

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

update_shard_status(pid, status, game, type \\ 0, stream \\ nil)

View Source

Specs

update_shard_status(pid(), status(), String.t(), integer(), String.t() | nil) ::
  :ok

Updates the status of the bot for a certain shard.

Parameters

  • pid - Pid of the shard.
  • status - Status of the bot.
  • game - The 'playing' text of the bot. Empty will clear.
  • type - The type of status to show. 0 (Playing) | 1 (Streaming) | 2 (Listening) | 3 (Watching)
  • stream - URL of twitch.tv stream