Restrict a command to certain roles

Every command Bond builds can be limited to specific roles or a Discord permission, so staff commands stay staff-only.

custom slash commands · roles & permissions

How the conversation goes.

One sentence, in the channel you already use.

  • @Bond Make the /warn command only usable by the Mod role

What Bond does after the first message.

It reads the server first, so it reuses what you already have instead of building a second copy of it.

Create a custom slash command for this server - the supported way to give a server its own command like /rank, /ticket or /daily.

create_custom_command

List every custom slash command this server has, with its kind, enabled state, Discord registration status and usage counts.

list_custom_commands

Get the full definition of one custom slash command: its body, options, access restrictions and sync state.

get_custom_command

Update an existing custom slash command's description, body, options, access restrictions, ephemeral setting, confirmation step or enabled state.

update_custom_command

Delete a custom slash command from this server and unregister it from Discord.

delete_custom_command

List all roles in the Discord server.

list_roles

Look up a single role by its ID or exact name.

get_role

Create a role with permissions, display settings, icon or Unicode emoji, and a solid, gradient (two-color), or holographic (three-color) color.

create_role

Delete a role from the Discord server.

delete_role

Assign a role to a member in the Discord server.

assign_role

Remove a role from a member in the Discord server.

remove_role

Ask for it in one sentence.

Free to start. Bond never needs Administrator, and it names everything it is about to change before it changes it.