Skip to main content
<> means an argument is required, [] means it’s optional

Message time difference

Get the time difference between two messages.
  • message1_id (text): optional
    The ID of the first message.
  • message2_id (text): optional
    The ID of the second message.

Lock a channel or thread

Lock a channel or thread to prevent interaction.
  • channel (channel | thread): optional
    The channel or thread to lock. If not provided, the current channel or thread is used.

Hide a channel or thread

Hide or archive a channel or thread.
  • channel (channel | thread): optional
    The channel or thread to hide or archive. If not provided, the current channel or thread is used.

Rename a channel

Rename a channel.
This command is rate-limited per channel.
  • channel (channel): optional
    The channel you want to rename. If not provided, the current channel is used.
  • name (text): required
    The new name for the channel.

Delete a channel

Delete a channel with confirmation.
  • channel (channel): optional
    The channel you want to delete. If not provided, the current channel is used.

Nuke a channel

Delete and recreate a channel with confirmation.
  • channel (channel): optional
    The channel you want to nuke. If not provided, the current channel is used.
  • delete_after (time): optional
    Time in seconds before deleting the channel.

Clone a channel

Create a copy of a channel.
  • channel (channel): optional
    The channel you want to clone. If not provided, the current channel is used.

Move a channel

Move a channel to a different category.
  • category (category): optional
    The category to move the channel to.
  • channel (channel): optional
    The channel you want to move. If not provided, the current channel is used.