Enums§
- Create
Command Error - struct for typed errors of method
create_command
- Delete
Command Error - struct for typed errors of method
delete_command
- Execute
Command Error - struct for typed errors of method
execute_command
- GetCommand
ById Error - struct for typed errors of method
get_command_by_id
- List
Autocomplete Commands Error - struct for typed errors of method
list_autocomplete_commands
- List
Command Autocomplete Suggestions Error - struct for typed errors of method
list_command_autocomplete_suggestions
- List
Commands Error - struct for typed errors of method
list_commands
- Move
Command Error - struct for typed errors of method
move_command
- Regen
Command Token Error - struct for typed errors of method
regen_command_token
- Update
Command Error - struct for typed errors of method
update_command
Functions§
- create_
command - Create a command for a team. ##### Permissions
manage_slash_commands
for the team the command is in. - delete_
command - Delete a command based on command id string. ##### Permissions Must have
manage_slash_commands
permission for the team the command is in. - execute_
command - Execute a command on a team. ##### Permissions Must have
use_slash_commands
permission for the team the command is in. - get_
command_ by_ id - Get a command definition based on command id string. ##### Permissions Must have
manage_slash_commands
permission for the team the command is in. Minimum server version: 5.22 - list_
autocomplete_ commands - List autocomplete commands in the team. ##### Permissions
view_team
for the team. - list_
command_ autocomplete_ suggestions - List commands’ autocomplete data for the team. ##### Permissions
view_team
for the team. Minimum server version: 5.24 - list_
commands - List commands for a team. ##### Permissions
manage_slash_commands
if need list custom commands. - move_
command - Move a command to a different team based on command id string. ##### Permissions Must have
manage_slash_commands
permission for the team the command is currently in and the destination team. Minimum server version: 5.22 - regen_
command_ token - Generate a new token for the command based on command id string. ##### Permissions Must have
manage_slash_commands
permission for the team the command is in. - update_
command - Update a single command based on command id string and Command struct. ##### Permissions Must have
manage_slash_commands
permission for the team the command is in.