Skip to main content

Button Roles

Let members self-assign roles by clicking a button on any of raze’s messages.

Overview

Button roles attach a persistent button to any message sent by raze. When a member clicks it, the role is toggled — added if they don’t have it, removed if they do. Multiple buttons can coexist on the same message alongside button messages. Each button gets a unique code that you use to remove it later.
Buttons can only be added to messages sent by raze.

Add a button role

Button styles

Remove a button role

Use the code returned when the button was added.

List button roles

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

Full example