Commit Graph

4971 Commits

Author SHA1 Message Date
2a59e0286e Add latin_american_spanish locale 2023-12-18 17:47:29 -05:00
08ef42fedf Add new incident message types
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2023-12-18 17:45:44 -05:00
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
50190e088e Add applied_tags param to Webhook.send 2023-12-12 17:13:55 -05:00
f6182e5763 Add missing suppress_embeds kwarg to InteractionResponse.edit_message 2023-12-10 17:07:50 -05:00
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
9b9c93ad49 [tasks] Fix typing for tasks.SleepHandle.future set calls 2023-12-10 11:38:55 -05:00
4d03fa1c29 Update typo for automod_rule_trigger in docs 2023-12-10 11:37:32 -05:00
29344b9cce Add thread getters to Message 2023-12-10 11:37:03 -05:00
2b51e5e736 [commands] Change import for PrivateChannel for cooldowns 2023-12-10 04:34:08 -05:00
536cf5c01f [Crowdin] Updated translation files
Crowdin translations download

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-20 17:06:13 -05:00
56c67d3967 Implement editing application info 2023-11-20 04:33:56 -05:00
9810cb9936 Add warning to VoiceProtocol.on_voice_state_update 2023-11-19 19:51:00 -05:00
a9936c2da5 Fix typo in HTTPClient create_entitlement 2023-11-19 19:08:20 -05:00
3009c46080 Fix typo in documentation; "users" -> "roles" 2023-11-19 19:04:05 -05:00
5c46f812c7 Document type property and classmethods for SelectDefaultValueType 2023-11-19 18:52:12 -05:00
a5d03d4a1e Add specialcase for AutoMod triggers in audit log diff 2023-10-25 19:28:49 -04:00
67ae85aa22 Fix typos in Forbidden descriptions for Member methods 2023-10-25 19:25:29 -04:00
c7edfc7c16 Future proof usage of async_timeout 2023-10-24 16:07:56 -04:00
ef0944047e Fix SKU return type and documentation 2023-10-21 09:32:47 -04:00
e1c1a72a50 Fix AutoModRuleAction attribute error 2023-10-21 04:14:29 -04:00
933460c3d4 Fix member_profile triggers not having attributes filled 2023-10-20 04:24:55 -04:00
7d159920e7 Fix entitlement_delete event dispatch 2023-10-20 04:09:57 -04:00
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
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
163a86c4a0 Raise WebSocketClosure on protocol level errors
Ref: #9561
2023-10-19 01:16:48 -04:00
5eb2f30405 Add an 'a' where it is missing in on_member_ban 2023-10-17 20:20:08 -04:00
e1aa6cc264 Fix bad voice state when moving to a voice channel without permissions 2023-10-01 17:45:55 -04:00
ebe2661f7d Add missing scheduled_event field to StageChannel.create_instance 2023-10-01 13:41:07 -04:00
220607f67e Add Python 3.11 to the PyPI classifiers 2023-10-01 02:55:17 -04:00
2e4eedf5cb Fix type hint for CustomActivity emoji parameter 2023-09-30 21:58:19 -04:00
698363e76b Refactor from_components for Select classes
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2023-09-30 21:21:29 -04:00
5c5ccc4e82 [commands] Fix hybrid command wrapped instances being out of sync 2023-09-30 14:28:18 -04:00
f617d01eee Refactor human_join into its own private helper function 2023-09-30 13:11:29 -04:00
d7f8a39a66 Remove duplicated doc for default_values kwarg for select decorator 2023-09-30 12:47:19 -04:00
cf79af2dc4 Fix typehints for __class_getitem__ in Transform and Range 2023-09-30 12:46:50 -04:00
c115cfb0ac Remove unnecessary comments 2023-09-29 19:05:52 -04:00
7f7a0acd21 Fix GuildChannel subclasses not working with default select values
This also fixes it so ClientUser is respected as well
2023-09-29 19:04:15 -04:00
c5ecc42c72 Add support for default_values field on selects 2023-09-29 15:55:20 -04:00
9f8f9bf56b Fix incorrect callback typing for WebsocketHook 2023-09-28 18:56:14 -04:00
44284ae107 Rewrite voice connection internals 2023-09-28 17:51:22 -04:00
555940352b Fix error when app_commands.Group misses a name 2023-09-28 10:41:11 -04:00
576ab269e8 Fix AttributeError in CommandSyncFailure due to APPLICATION_COMMAND_TOO_LARGE 2023-09-27 04:51:46 -04:00
48b4ea84c9 Add silence padding after transmission breaks
Prevents unwanted interpolation/distortion of audio by sending silence
packets after pausing or ending the audio stream.
2023-09-22 03:38:42 -04:00
3f92f35bb1 [commands] Log exceptions that happen during cog_unload 2023-09-20 17:20:50 -04:00
dacf3cfe86 Fix possible FFmpegAudio AttributeError in __del__ 2023-09-20 17:13:50 -04:00
97ae6409b0 Add support for burst reactions 2023-09-19 00:06:10 -04:00
5126323640 Add custom_id string to DynamicItem template regex error 2023-09-16 22:47:49 -04:00
9e2f2cb3af Log suppressed autocomplete exceptions 2023-09-16 22:34:51 -04:00
3530a0f2a8 Fix advanced startup example 2023-09-16 20:32:09 -04:00