Commit Graph
4104 Commits
Author SHA1 Message Date
Andrew Morgan 8ba830eeb8 Include ssrc parameter when sending a SPEAKING payload
As it is a required parameter.

Don't unnecessarily send a second SPEAKING payload after
connecting to voice

We do need to send a SPEAKING payload in order to set our SSRC value
after connecting to voice, yet that can be with a `state` of 0
(SpeakingState.none).

There is no reason to send 2 packets; one marking ourselves as
speaking, and then not speaking.
2023-03-14 03:18:23 -04:00
Rapptz 08d668f21b Fix improper usages of Optional MISSING in create_forum 2023-03-12 22:22:42 -04:00
Rapptz c495762aa6 Fix Widget.members type docstring 2023-03-12 22:20:50 -04:00
Puncher 7db197ef25 Add default_reaction_emoji and default_forum_layout to create_forum 2023-03-12 22:17:48 -04:00
rdrescher909 198425707e Add Guild.get_emoji helper 2023-03-12 22:13:08 -04:00
Puncher dc9fb1fd84 Add missing param send_start_notification to create_instance 2023-03-06 20:15:22 -05:00
Puncher 103d75540c Fix MISSING error for enabled param in create_automod_rule 2023-03-05 17:32:20 -05:00
Puncher 79c508311f Add support for default_thread_slowmode_delay in TextChannel 2023-03-05 17:31:14 -05:00
Puncher a1295868a6 Add support for default_sort_order in ForumChannel 2023-03-05 17:30:23 -05:00
Puncher 60094b17a9 Fix create_scheduled_event param handling 2023-03-05 17:28:50 -05:00
Soheab_ a938b10e5a [commands] Pass failed argument's value to BadLiteralArgument 2023-03-03 09:07:22 -05:00
Rapptz 78099992dd Version bump for development 2023-03-01 22:49:32 -05:00
Rapptz 78175ded1b Version bump to v2.2.2 2023-03-01 22:48:19 -05:00
Bryan Forbes 0ea098567c [commands] Use ... for Command and Group typing 2023-03-01 22:47:17 -05:00
Rapptz 82bfb3cf34 Version bump for development 2023-03-01 19:44:50 -05:00
Rapptz bbf2cce488 Version bump to v2.2.1 2023-03-01 19:44:50 -05:00
Bryan Forbes 4d51f68864 [commands] Fix some more partially uknown typing errors 2023-03-01 19:37:38 -05:00
Bryan Forbes 1de3562f34 Fix partially uknown typing errors 2023-03-01 19:14:50 -05:00
Florian Spieß 6910943703 Fix udp discovery not using 74 byte layout 2023-03-01 18:11:06 -05:00
Rapptz 7a0744c9a9 Version bump for development 2023-02-28 09:10:46 -05:00
Rapptz 7f1b39b5b3 Version bump to v2.2.0 2023-02-28 09:10:18 -05:00
Rapptz 2d6c50dbe1 Add note about colour changing 2023-02-28 09:02:42 -05:00
Soheab_ a5a93a85bc [commands] Document GroupCog.interaction_check 2023-02-28 02:20:00 -05:00
Puncher 1e9d04bbca Add missing and fix wrong docstrings 2023-02-28 02:18:59 -05:00
Rapptz bd6bbdab00 Add support for stage message types 2023-02-27 09:17:40 -05:00
z03h 8f86170767 Don't require some args for ScheduledEvent.edit 2023-02-27 06:18:13 -05:00
Josh 6af6f82411 Fix audit log pagination logic 2023-02-27 06:15:28 -05:00
Josh 90d50bef1f Add custom_message to automod block_message aciton 2023-02-26 03:26:26 -05:00
Rapptz 517d7ae4fe Avoid converting target_id if it's None 2023-02-25 06:05:16 -05:00
Rapptz fd9f3e9eff Update docs with references to text in stage 2023-02-25 03:27:04 -05:00
Rapptz da4651c97c Implement Messageable for StageChannel
Fix #9248
2023-02-25 03:13:55 -05:00
Puncher 29461ddb5f Change max values in AutoModTrigger attributes docs 2023-02-25 02:44:44 -05:00
Devon R 8f3224b70b [commands] Change Paginator.pages to not prematurely close 2023-02-24 16:24:50 -05:00
owocado 3644f7849c Document auto_archive_duration accepted values 2023-02-23 07:23:22 -05:00
owocadoando-wo d26dbf3a7a Fix a few typos in the docs
Co-authored-by: o-wo <24418520+o-wo@users.noreply.github.com>
2023-02-23 00:47:08 -05:00
Leonardo e161f6ef3e Update colour constants 2023-02-23 00:45:51 -05:00
o-wo b19897fce1 Fix AuditLogDiff.type for webhooks 2023-02-21 17:31:01 -05:00
Jonte 2cde1133f9 Update create_stage_channel to support more parameters 2023-02-18 22:34:03 -05:00
Rapptz 4e09c34bbb Suppress exceptions from invoking autocomplete 2023-02-17 13:24:59 -05:00
Rapptz 0c68eb338c Add colour previews to the documentation 2023-02-16 10:45:53 -05:00
Rapptz 94fa00fbfd Clarify documentation on Message.publish 2023-02-13 23:54:02 -05:00
Rapptz 40227f75de Fix select decorator type checking error 2023-02-13 23:53:56 -05:00
z03h e6ef43139f Don't store finished views/modals 2023-02-13 23:52:40 -05:00
Soheab_ caf0fbdc1b Correct permission for bypass_verification field in Member.edit 2023-02-13 06:26:32 -05:00
Takagi TasukuandDanny f7e9795495 Call super for __init_subclass__ in View
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2023-02-12 02:08:39 -05:00
Rapptz a2b09c0ecd Remove unused import 2023-02-11 18:40:17 -05:00
Rapptz ec71a46907 Fix Message.channel rebinding sometimes being Object 2023-02-11 18:25:42 -05:00
AAA3A 742630f144 [commands] Fix error involving hybrid groups in Cog 2023-02-10 19:33:27 -05:00
TheMaster3558 9562a9683a Add dark_embed and light_embed to Colour 2023-02-10 19:32:00 -05:00
Rapptz 4057afad6a Add support for passing client to Webhook.from_url and Webhook.partial 2023-02-09 23:22:45 -05:00