-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement text in stage (#942)
Signed-off-by: arl <[email protected]> Co-authored-by: shiftinv <[email protected]>
- Loading branch information
1 parent
73f08a7
commit e7db034
Showing
15 changed files
with
493 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix :meth:`.VoiceChannel.permissions_for` not disabling :attr:`Permissions.manage_webhooks` when the user cannot connect to the channel. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Messages can now be sent within :class:`StageChannel` instances. | ||
- :class:`StageChannel` now inherits from :class:`abc.Messageable` | ||
- New :class:`StageChannel` properties: | ||
:attr:`.nsfw <StageChannel.nsfw>`, :attr:`.slowmode_delay <StageChannel.slowmode_delay>`, :attr:`.last_message_id <StageChannel.last_message_id>`, :attr:`.last_message <StageChannel.last_message>` | ||
- New :class:`StageChannel` methods: | ||
:func:`.is_nsfw <StageChannel.is_nsfw>`, :func:`.get_partial_message <StageChannel.get_partial_message>`, :func:`.delete_messages <StageChannel.delete_messages>`, :func:`.purge <StageChannel.purge>`, :func:`.webhooks <StageChannel.webhooks>`, :func:`.create_webhook <StageChannel.create_webhook>` | ||
- Add ``nsfw`` and ``slowmode_delay`` parameters to :func:`Guild.create_stage_channel` and :func:`CategoryChannel.create_stage_channel` | ||
- Add ``nsfw`` and ``slowmode_delay`` parameters to :func:`StageChannel.edit` | ||
- Add text related permission support to :func:`StageChannel.permissions_for`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
New message types that are sent within :class:`StageChannel` instances: | ||
- :attr:`MessageType.stage_start`, :attr:`MessageType.stage_end`, :attr:`MessageType.stage_speaker`, and :attr:`MessageType.stage_topic`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add edit support for ``user_limit`` to :meth:`StageChannel.edit`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add support for setting ``user_limit`` and ``video_quality_mode`` when creating a :class:`StageChannel` with :func:`Guild.create_stage_channel`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.