discord-interactions
Docs
Index
Edit on GitHub
Contents:
Quickstart
Getting Started
Where do we start?
Making a slash command.
Making a message/menu command.
Nested commands as subcommands.
Handling my errors.
Migration
Migrate To V2.0.0
Migrate To V1.1.0
Migrate To 1.0.9
How to use components
Sending some components
Responding to interactions
How do I know which button was pressed?
What about selects / Dropdowns?
discord_slash package
Submodules
Module contents
discord_slash Events
discord_slash.utils package
Submodules
Module contents
Frequently Asked Questions
Why don’t my slash commands show up?
How to add slash commands?
How to delete slash commands?
What is the difference between ctx.send and ctx.channel.send?
Can I use something of discord.py’s in this extension?
Any more questions?
Index
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
M
|
O
|
P
|
R
|
S
|
T
|
U
|
V
|
W
A
actionrow (discord_slash.model.ComponentType attribute)
add_check() (discord_slash.model.BaseCommandObject method)
(discord_slash.model.CallbackObject method)
(discord_slash.model.CogBaseCommandObject method)
(discord_slash.model.CogComponentCallbackObject method)
(discord_slash.model.CogSubcommandObject method)
(discord_slash.model.CommandObject method)
(discord_slash.model.ComponentCallbackObject method)
(discord_slash.model.SubcommandObject method)
add_component_callback() (discord_slash.client.SlashCommand method)
add_context_menu() (discord_slash.client.SlashCommand method)
add_slash_command() (discord_slash.client.SlashCommand method)
(discord_slash.http.SlashCommandRequest method)
(in module discord_slash.utils.manage_commands)
add_subcommand() (discord_slash.client.SlashCommand method)
AlreadyResponded
application_id (discord_slash.http.SlashCommandRequest property)
B
BASE (discord_slash.http.CustomRoute attribute)
BaseCommandObject (class in discord_slash.model)
blue (discord_slash.model.ButtonStyle attribute)
blurple (discord_slash.model.ButtonStyle attribute)
BOOLEAN (discord_slash.model.SlashCommandOptionType attribute)
built-in function
on_component()
on_component_callback()
on_component_callback_error()
on_slash_command()
on_slash_command_error()
button (discord_slash.model.ComponentType attribute)
ButtonStyle (class in discord_slash.model)
C
CallbackObject (class in discord_slash.model)
can_run() (discord_slash.model.BaseCommandObject method)
(discord_slash.model.CallbackObject method)
(discord_slash.model.CogBaseCommandObject method)
(discord_slash.model.CogComponentCallbackObject method)
(discord_slash.model.CogSubcommandObject method)
(discord_slash.model.CommandObject method)
(discord_slash.model.ComponentCallbackObject method)
(discord_slash.model.SubcommandObject method)
channel (discord_slash.context.InteractionContext property)
CHANNEL (discord_slash.model.SlashCommandOptionType attribute)
CHAT_INPUT (discord_slash.model.ContextMenuType attribute)
CheckFailure
ChoiceData (class in discord_slash.model)
cog (discord_slash.context.MenuContext property)
(discord_slash.context.SlashContext property)
cog_component() (in module discord_slash.cog_ext)
cog_context_menu() (in module discord_slash.cog_ext)
cog_slash() (in module discord_slash.cog_ext)
cog_subcommand() (in module discord_slash.cog_ext)
CogBaseCommandObject (class in discord_slash.model)
CogComponentCallbackObject (class in discord_slash.model)
CogSubcommandObject (class in discord_slash.model)
command_request() (discord_slash.http.SlashCommandRequest method)
command_response() (discord_slash.http.SlashCommandRequest method)
CommandData (class in discord_slash.model)
CommandObject (class in discord_slash.model)
component_callback() (discord_slash.client.SlashCommand method)
ComponentCallbackObject (class in discord_slash.model)
ComponentContext (class in discord_slash.context)
components (discord_slash.model.SlashMessage attribute)
ComponentType (class in discord_slash.model)
context_menu() (discord_slash.client.SlashCommand method)
ContextMenuError
ContextMenuType (class in discord_slash.model)
create_actionrow() (in module discord_slash.utils.manage_components)
create_button() (in module discord_slash.utils.manage_components)
create_choice() (in module discord_slash.utils.manage_commands)
create_multi_ids_permission() (in module discord_slash.utils.manage_commands)
create_option() (in module discord_slash.utils.manage_commands)
create_permission() (in module discord_slash.utils.manage_commands)
create_select() (in module discord_slash.utils.manage_components)
create_select_option() (in module discord_slash.utils.manage_components)
CustomRoute (class in discord_slash.http)
D
danger (discord_slash.model.ButtonStyle attribute)
defer() (discord_slash.context.ComponentContext method)
(discord_slash.context.InteractionContext method)
(discord_slash.context.MenuContext method)
deffered (discord_slash.context.InteractionContext property)
delete() (discord_slash.http.SlashCommandRequest method)
(discord_slash.model.SlashMessage method)
discord_slash
module
discord_slash.client
module
discord_slash.cog_ext
module
discord_slash.context
module
discord_slash.error
module
discord_slash.http
module
discord_slash.model
module
discord_slash.utils
module
discord_slash.utils.manage_commands
module
discord_slash.utils.manage_components
module
DuplicateCallback
DuplicateCommand
DuplicateSlashClient
E
edit() (discord_slash.http.SlashCommandRequest method)
(discord_slash.model.SlashMessage method)
edit_origin() (discord_slash.context.ComponentContext method)
emoji_to_dict() (in module discord_slash.utils.manage_components)
error() (discord_slash.model.BaseCommandObject method)
(discord_slash.model.CallbackObject method)
(discord_slash.model.CogBaseCommandObject method)
(discord_slash.model.CogComponentCallbackObject method)
(discord_slash.model.CogSubcommandObject method)
(discord_slash.model.CommandObject method)
(discord_slash.model.ComponentCallbackObject method)
(discord_slash.model.SubcommandObject method)
extend_component_callback() (discord_slash.client.SlashCommand method)
F
FLOAT (discord_slash.model.SlashCommandOptionType attribute)
from_type() (discord_slash.model.SlashCommandOptionType class method)
(discord_slash.model.SlashCommandPermissionType class method)
G
generate_options() (in module discord_slash.utils.manage_commands)
generate_permissions() (in module discord_slash.utils.manage_commands)
get_all_commands() (discord_slash.http.SlashCommandRequest method)
(in module discord_slash.utils.manage_commands)
get_all_guild_commands_permissions() (discord_slash.http.SlashCommandRequest method)
(in module discord_slash.utils.manage_commands)
get_cog_commands() (discord_slash.client.SlashCommand method)
get_component() (discord_slash.model.SlashMessage method)
get_component_callback() (discord_slash.client.SlashCommand method)
get_components_ids() (in module discord_slash.utils.manage_components)
get_cooldown_retry_after() (discord_slash.model.BaseCommandObject method)
(discord_slash.model.CallbackObject method)
(discord_slash.model.CogBaseCommandObject method)
(discord_slash.model.CogComponentCallbackObject method)
(discord_slash.model.CogSubcommandObject method)
(discord_slash.model.CommandObject method)
(discord_slash.model.ComponentCallbackObject method)
(discord_slash.model.SubcommandObject method)
get_guild_command_permissions() (in module discord_slash.utils.manage_commands)
get_messages_ids() (in module discord_slash.utils.manage_components)
gray (discord_slash.model.ButtonStyle attribute)
green (discord_slash.model.ButtonStyle attribute)
grey (discord_slash.model.ButtonStyle attribute)
guild (discord_slash.context.InteractionContext property)
GuildPermissionsData (class in discord_slash.model)
H
handle_subcommand() (discord_slash.client.SlashCommand method)
I
IncorrectCommandData
IncorrectFormat
IncorrectGuildIDType
IncorrectType
INTEGER (discord_slash.model.SlashCommandOptionType attribute)
InteractionContext (class in discord_slash.context)
invoke() (discord_slash.context.SlashContext method)
(discord_slash.model.BaseCommandObject method)
(discord_slash.model.CallbackObject method)
(discord_slash.model.CogBaseCommandObject method)
(discord_slash.model.CogComponentCallbackObject method)
(discord_slash.model.CogSubcommandObject method)
(discord_slash.model.CommandObject method)
(discord_slash.model.ComponentCallbackObject method)
(discord_slash.model.SubcommandObject method)
invoke_command() (discord_slash.client.SlashCommand method)
invoke_component_callback() (discord_slash.client.SlashCommand method)
is_on_cooldown() (discord_slash.model.BaseCommandObject method)
(discord_slash.model.CallbackObject method)
(discord_slash.model.CogBaseCommandObject method)
(discord_slash.model.CogComponentCallbackObject method)
(discord_slash.model.CogSubcommandObject method)
(discord_slash.model.CommandObject method)
(discord_slash.model.ComponentCallbackObject method)
(discord_slash.model.SubcommandObject method)
M
me (discord_slash.context.InteractionContext property)
MENTIONABLE (discord_slash.model.SlashCommandOptionType attribute)
MenuContext (class in discord_slash.context)
MESSAGE (discord_slash.model.ContextMenuType attribute)
module
discord_slash
discord_slash.client
discord_slash.cog_ext
discord_slash.context
discord_slash.error
discord_slash.http
discord_slash.model
discord_slash.utils
discord_slash.utils.manage_commands
discord_slash.utils.manage_components
O
on_component()
built-in function
on_component_callback()
built-in function
on_component_callback_error()
built-in function
on_component_callback_error() (discord_slash.client.SlashCommand method)
on_slash_command()
built-in function
on_slash_command_error()
built-in function
on_slash_command_error() (discord_slash.client.SlashCommand method)
on_socket_response() (discord_slash.client.SlashCommand method)
OptionData (class in discord_slash.model)
P
permission() (discord_slash.client.SlashCommand method)
(in module discord_slash.cog_ext)
PermissionData (class in discord_slash.model)
post_followup() (discord_slash.http.SlashCommandRequest method)
post_initial_response() (discord_slash.http.SlashCommandRequest method)
primary (discord_slash.model.ButtonStyle attribute)
process_options() (discord_slash.client.SlashCommand method)
put_slash_commands() (discord_slash.http.SlashCommandRequest method)
R
red (discord_slash.model.ButtonStyle attribute)
remove_all_commands() (in module discord_slash.utils.manage_commands)
remove_all_commands_in() (in module discord_slash.utils.manage_commands)
remove_check() (discord_slash.model.BaseCommandObject method)
(discord_slash.model.CallbackObject method)
(discord_slash.model.CogBaseCommandObject method)
(discord_slash.model.CogComponentCallbackObject method)
(discord_slash.model.CogSubcommandObject method)
(discord_slash.model.CommandObject method)
(discord_slash.model.ComponentCallbackObject method)
(discord_slash.model.SubcommandObject method)
remove_cog_commands() (discord_slash.client.SlashCommand method)
remove_component_callback() (discord_slash.client.SlashCommand method)
remove_component_callback_obj() (discord_slash.client.SlashCommand method)
remove_slash_command() (discord_slash.http.SlashCommandRequest method)
(in module discord_slash.utils.manage_commands)
reply() (discord_slash.context.InteractionContext method)
request_with_files() (discord_slash.http.SlashCommandRequest method)
RequestFailure
reset_cooldown() (discord_slash.model.BaseCommandObject method)
(discord_slash.model.CallbackObject method)
(discord_slash.model.CogBaseCommandObject method)
(discord_slash.model.CogComponentCallbackObject method)
(discord_slash.model.CogSubcommandObject method)
(discord_slash.model.CommandObject method)
(discord_slash.model.ComponentCallbackObject method)
(discord_slash.model.SubcommandObject method)
ROLE (discord_slash.model.SlashCommandOptionType attribute)
(discord_slash.model.SlashCommandPermissionType attribute)
S
secondary (discord_slash.model.ButtonStyle attribute)
select (discord_slash.model.ComponentType attribute)
send() (discord_slash.context.ComponentContext method)
(discord_slash.context.InteractionContext method)
(discord_slash.context.MenuContext method)
slash (discord_slash.context.SlashContext property)
slash() (discord_slash.client.SlashCommand method)
SlashCommand (class in discord_slash.client)
SlashCommandError
SlashCommandOptionType (class in discord_slash.model)
SlashCommandPermissionType (class in discord_slash.model)
SlashCommandRequest (class in discord_slash.http)
SlashContext (class in discord_slash.context)
SlashMessage (class in discord_slash.model)
spread_to_rows() (in module discord_slash.utils.manage_components)
STRING (discord_slash.model.SlashCommandOptionType attribute)
SUB_COMMAND (discord_slash.model.SlashCommandOptionType attribute)
SUB_COMMAND_GROUP (discord_slash.model.SlashCommandOptionType attribute)
subcommand() (discord_slash.client.SlashCommand method)
SubcommandObject (class in discord_slash.model)
success (discord_slash.model.ButtonStyle attribute)
sync_all_commands() (discord_slash.client.SlashCommand method)
T
to_dict() (discord_slash.client.SlashCommand method)
U
update_guild_commands_permissions() (discord_slash.http.SlashCommandRequest method)
(in module discord_slash.utils.manage_commands)
update_single_command_permissions() (in module discord_slash.utils.manage_commands)
URL (discord_slash.model.ButtonStyle attribute)
USER (discord_slash.model.ContextMenuType attribute)
(discord_slash.model.SlashCommandOptionType attribute)
(discord_slash.model.SlashCommandPermissionType attribute)
V
voice_client (discord_slash.context.InteractionContext property)
W
wait_for_component() (in module discord_slash.utils.manage_components)