4293 Commits

Author SHA1 Message Date
Imayhaveborkedit
b8c29b0790
More voice fixes
* More voice fixes

* Start socket reader paused and wait for socket creation

* Fix issues handling 4014 closures

Fixes code not handling disconnects from discord's end properly.  The
4014 code is shared between being disconnected and moved, so it has to
account for the uncertainty.  Also properly stops the voice_client audio
player when disconnecting.

* Fix sending (dropped) silence packets when not connected
2024-04-18 03:36:18 -04:00
ナニカ
dc6d33c303
copy over original row position for dynamic items 2024-04-18 03:33:43 -04:00
owocado
425edd2e10
Improve __repr__ for Webhook and SyncWebhook 2024-03-22 10:02:45 -04:00
owocado
2f71506169
Add view_creator_monetization_analytics permission 2024-03-21 04:40:51 -04:00
Rapptz
0e016be42c Clarify some docstrings around BulkBanResponse 2024-03-15 18:11:52 -04:00
Rapptz
ded9c5d87b Add support for bulk banning members 2024-03-15 18:05:35 -04:00
Alex Nørgaard
82d13e7b49
Add support for ClientUser editing banners 2024-03-14 18:10:17 -04:00
fretgfr
edf7ce2ab0
Update Guild.prune_members required permissions notes 2024-03-14 17:39:25 -04:00
Rapptz
56916f9241 Fix comparisons between two Object with types 2024-02-22 20:42:24 -05:00
owocado
61eddfcb18
Fix sticker URL for GIF stickers 2024-02-20 16:59:24 -05:00
Josh
4e03b170ef
Update pyright version 2024-02-20 13:36:02 -05:00
Rapptz
76666fbcf4 Properly check for maximum number of children 2024-02-17 01:17:31 -05:00
Rapptz
9345a2a1be Add warning for FFmpeg spawning classes executable parameter 2024-02-11 05:55:25 -05:00
JDJG
8d3b56206b
Update ClientUser.edit docs for animated avatars 2024-02-07 19:38:18 -05:00
Akai
bd402b486c
Correct typo in error message: "error" to "autocomplete" 2024-01-26 20:56:02 -05:00
Imayhaveborkedit
a9ff58724b
Fix move_to related voice state bugs 2024-01-26 20:14:19 -05:00
Andrin
e25b7ff3f8
Support for avatar decorations
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
Co-authored-by: owocado <24418520+owocado@users.noreply.github.com>
2024-01-26 20:12:07 -05:00
Soheab_
070ae24d8d
Document all limits in discord.ui 2024-01-26 20:08:00 -05:00
Soheab_
851c857a36
Add support for guild incidents
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2024-01-26 20:02:11 -05:00
Rapptz
3258507b4a Call inner item callback and interaction_check by default 2024-01-24 13:25:48 -05:00
Rapptz
cb3ea9b889 Add shard_connect_timeout parameter for AutoShardedClient 2024-01-07 19:45:29 -05:00
Rapptz
9a1b91dc9f Properly restrict auto_moderation audit log action range 2024-01-06 18:53:23 -05:00
Rapptz
de6a6af5d3 Fix DynamicItem row attribute being overridden 2024-01-06 06:11:39 -05:00
Rapptz
078b500657 Fix dynamic item views having a timeout causing it to evict 2023-12-30 05:00:12 -05:00
Andrin
9ce733321b
Add support for setting voice channel status 2023-12-26 05:32:21 -05:00
Rapptz
d25b574b32 Clear outstanding chunk requests when receiving a READY event
Ref: #9571
2023-12-24 13:01:12 -05:00
John Wuller
2a59e0286e
Add latin_american_spanish locale 2023-12-18 17:47:29 -05:00
Andrin
08ef42fedf
Add new incident message types
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2023-12-18 17:45:44 -05:00
Imayhaveborkedit
9db0dadc42
Fix voice disconnect+connect race condition
Fixes a race condition when disconnecting and immediately connecting
again.  Also fixes disconnect() being called twice.

Let me be clear, I DO NOT LIKE THIS SOLUTION.  I think it's dumb but I
don't see any other reasonable alternative.  There isn't a way to
transfer state to a new connection state object and I can't think of a
nice way to do it either.  That said, waiting an arbitrary amount of
time for an arbitrary websocket event doesn't seem like the right
solution either, but it's the best I can do at this point.
2023-12-14 19:09:04 -05:00
Andrin
50190e088e
Add applied_tags param to Webhook.send 2023-12-12 17:13:55 -05:00
Soheab_
f6182e5763
Add missing suppress_embeds kwarg to InteractionResponse.edit_message 2023-12-10 17:07:50 -05:00
Kohki Miki
d9f81150e1
Add platform property to Activity and Game
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2023-12-10 11:39:26 -05:00
Thanos
9b9c93ad49
[tasks] Fix typing for tasks.SleepHandle.future set calls 2023-12-10 11:38:55 -05:00
Lilly Rose Berner
29344b9cce
Add thread getters to Message 2023-12-10 11:37:03 -05:00
Rapptz
2b51e5e736 [commands] Change import for PrivateChannel for cooldowns 2023-12-10 04:34:08 -05:00
Andrin
56c67d3967
Implement editing application info 2023-11-20 04:33:56 -05:00
Mysty
9810cb9936
Add warning to VoiceProtocol.on_voice_state_update 2023-11-19 19:51:00 -05:00
Mikey
a9936c2da5
Fix typo in HTTPClient create_entitlement 2023-11-19 19:08:20 -05:00
Lukas Vacula
3009c46080
Fix typo in documentation; "users" -> "roles" 2023-11-19 19:04:05 -05:00
Soheab_
5c46f812c7
Document type property and classmethods for SelectDefaultValueType 2023-11-19 18:52:12 -05:00
z03h
a5d03d4a1e
Add specialcase for AutoMod triggers in audit log diff 2023-10-25 19:28:49 -04:00
dank
67ae85aa22
Fix typos in Forbidden descriptions for Member methods 2023-10-25 19:25:29 -04:00
Imayhaveborkedit
c7edfc7c16
Future proof usage of async_timeout 2023-10-24 16:07:56 -04:00
Andrin S
ef0944047e
Fix SKU return type and documentation 2023-10-21 09:32:47 -04:00
z03h
e1c1a72a50
Fix AutoModRuleAction attribute error 2023-10-21 04:14:29 -04:00
z03h
933460c3d4
Fix member_profile triggers not having attributes filled 2023-10-20 04:24:55 -04:00
owocado
7d159920e7
Fix entitlement_delete event dispatch 2023-10-20 04:09:57 -04:00
Lucas Hardt
99618c823a
Add support for premium app integrations
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
Co-authored-by: Lucas Hardt <lucas.hardt@fu-berlin.de>
Co-authored-by: Andrin S. <65789180+Puncher1@users.noreply.github.com>
2023-10-19 07:27:29 -04:00
Andrin S
5d353282dc
Support for AutoMod Members
Co-authored-by: Josh <8677174+bijij@users.noreply.github.com>
Co-authored-by: Kaylynn Morgan <51037748+kaylynn234@users.noreply.github.com>
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2023-10-19 07:25:51 -04:00
Rapptz
163a86c4a0 Raise WebSocketClosure on protocol level errors
Ref: #9561
2023-10-19 01:16:48 -04:00