Skip to main content

Overview

Button messages attach a persistent button to any message sent by slug. When a member clicks it, slug sends them an ephemeral embed response — visible only to them. Multiple buttons can coexist on the same message alongside button roles. Each button gets a unique code that you use to remove it later.
Buttons can only be added to messages sent by slug.

Add a button message

Button styles

Embed code format

The embed code must start with {embed} and uses the same embed builder syntax as welcome messages and other embeds in slug.

Remove a button message

Use the code returned when the button was added.

List button messages

Shows all button messages in the server with their codes, labels, and styles.

Full example