Params¶
command
¶
EditGlobalCommandParams
¶
Bases: TypedDict
flowchart TD
scurrypy.params.command.EditGlobalCommandParams[EditGlobalCommandParams]
click scurrypy.params.command.EditGlobalCommandParams href "" "scurrypy.params.command.EditGlobalCommandParams"
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.
EditGuildCommandParams
¶
Bases: TypedDict
flowchart TD
scurrypy.params.command.EditGuildCommandParams[EditGuildCommandParams]
click scurrypy.params.command.EditGuildCommandParams href "" "scurrypy.params.command.EditGuildCommandParams"
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.