Parameters¶
channel
¶
EditGuildChannelParams
¶
Bases: TypedDict
flowchart TD
scurrypy.params.channel.EditGuildChannelParams[EditGuildChannelParams]
click scurrypy.params.channel.EditGuildChannelParams href "" "scurrypy.params.channel.EditGuildChannelParams"
Parameters for editing a guild channel.
name: str
instance-attribute
¶
Name of the channel.
type: Optional[ChannelType]
instance-attribute
¶
Type of channel.
Important
Only conversion between text and announcement is supported in guilds with NEWS feature.
position: Optional[int]
instance-attribute
¶
Sorting position of the channel (channels with the same position are sorted by id).
topic: Optional[str]
instance-attribute
¶
Topic of the channel.
nsfw: Optional[bool]
instance-attribute
¶
If the channel is flagged NSFW.
rate_limit_per_user: Optional[int]
instance-attribute
¶
Seconds user must wait between sending messages in the channel.
parent_id: Optional[int]
instance-attribute
¶
Category ID of the channel.
default_auto_archive_duration: Optional[int]
instance-attribute
¶
Default duration in minutes threads will be hidden after period of inactivity.
flags: Optional[ChannelFlags]
instance-attribute
¶
Channel flags.
default_reaction_emoji: Optional[DefaultReactionPart]
instance-attribute
¶
Emoji to show in the add reaction button in a GUILD_FORUM post.
available_tags: Optional[list[TagPart]]
instance-attribute
¶
Set of tags that can be applied to a GUILD_FORUM post.
default_sort_order: Optional[SortOrderType]
instance-attribute
¶
Default forum sort order.
default_forum_layout: Optional[ForumLayoutType]
instance-attribute
¶
Default forum layout view.
default_thread_rate_limit_per_user: Optional[int]
instance-attribute
¶
Rate limit per user set on newly created threads.
Note
This field does not live update!
EditThreadChannelParams
¶
Bases: TypedDict
flowchart TD
scurrypy.params.channel.EditThreadChannelParams[EditThreadChannelParams]
click scurrypy.params.channel.EditThreadChannelParams href "" "scurrypy.params.channel.EditThreadChannelParams"
Parameters for editing a thread channel.
name: Optional[str]
instance-attribute
¶
Name of the channel.
archived: Optional[bool]
instance-attribute
¶
Whether the thread is archived.
auto_archive_duration: Optional[Literal[60, 1440, 4320, 10080]]
instance-attribute
¶
Duration in minutes threads will be hidden after period of inactivity.
locked: bool
instance-attribute
¶
Whether the thread is locked.
Note
Only users with MANAGE_THREADS can unarchive the thread.
invitable: Optional[bool]
instance-attribute
¶
Whether non-moderators can add other non-moderators to the thread (private threads only).
rate_limit_per_user: Optional[int]
instance-attribute
¶
Seconds user must wait between sending messages in the channel.
flags: Optional[ChannelFlags]
instance-attribute
¶
Channel flags.
applied_tags: Optional[list[int]]
instance-attribute
¶
Set of tags applied to a GUILD_FORUM post.