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, such as /rank, /daily or /profile.

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: what it runs, its options, who may use it, whether Discord has it registered, and its last few runs.

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

Dry-run a custom slash command before it is saved, so a broken one is caught first.

test_custom_command

List all roles in the Discord server, sorted by position (highest position = most authority).

list_roles

Look up one role by ID or exact name, even one above Bond's own roles, and whether Bond can manage it.

get_role

Create a role with permissions, display settings, icon or Unicode emoji, and a solid, gradient or holographic color.

create_role

Delete a role from the Discord server, removing it from every member who has it.

delete_role

Assign one role to one member, identified by ID or by name.

assign_role

Remove one role from one member, identified by ID or by name.

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.