Command Parameters¶
Note
The following classes come from the scurrypy.params.command module.
EditGuildCommandParams
¶
Bases: TypedDict
Parameters for editing a guild command.
name: Optional[str]
instance-attribute
¶
Name of the command.
description: Optional[str]
instance-attribute
¶
Description for the command.
options: Optional[list[CommandOptionPart]]
instance-attribute
¶
Options with the command.
nsfw: Optional[bool]
instance-attribute
¶
Whether this command is age restricted.
EditGlobalCommandParams
¶
Bases: TypedDict
Parameters for editing a global command.
name: Optional[str]
instance-attribute
¶
Name of the command.
description: Optional[str]
instance-attribute
¶
Description for the command.
options: Optional[list[CommandOptionPart]]
instance-attribute
¶
Options with the command.
nsfw: Optional[bool]
instance-attribute
¶
Whether this command is age restricted.