Commit Graph

4945 Commits

Author SHA1 Message Date
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
4ed08dd4a7 Add inline-tabs extension 2023-09-16 20:29:13 -04:00
bc87715463 Trim trailing whitespace in cog template 2023-09-16 18:32:11 -04:00
e67d00502d Fix View.from_message not creating other Selects 2023-09-12 13:03:29 -04:00
3827671bf7 Fix misleading Error documentation for Client.fetch_guild 2023-09-05 11:40:59 -04:00
69dd6052e4 Standardize Permission constants as padded binary u64
Should make it easier to know how and where to modify the bits
2023-09-05 03:54:21 -04:00
b6794fa6d1 Slightly improve performance of constructing Permissions using kwargs 2023-09-05 03:07:25 -04:00
f3b26e795f Fix typo in default_reaction_emoji type 2023-09-05 02:44:17 -04:00
94655cd804 Skip adding views to the synced message store if fully dynamic 2023-09-03 02:52:05 -04:00
f793af0456 Add item parameter to DynamicItem.from_custom_id 2023-09-03 02:52:05 -04:00
7c3868ef3b Add Client.remove_dynamic_items 2023-09-03 02:52:05 -04:00
418230641c Add dynamic counter example 2023-09-03 02:52:05 -04:00
a852f90358 Add support for dynamic items that parse custom_id for state 2023-09-03 02:52:05 -04:00
78ce5f2331 Fix IndexError when using empty string in Colour.from_str
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2023-09-03 02:41:55 -04:00
7bdfd454be Normalize thread names
Every thread now has a name and either a contextually relevant
identifier or their in hex to disambiguate multiple threads of the same
type.  Also finally gets rid of that old python 2 style init call.
2023-09-03 02:41:16 -04:00
e414d0fe04 [commands] Change default Bot.owner_ids to consider team roles 2023-08-30 20:49:06 -04:00
f74eb14d72 Remove owner from TeamMemberRole 2023-08-25 15:43:04 -04:00
60ff239558 Add support for integration_type in audit logs
Currently unsure whether more processing is meant to be done with this,
but for now an Optional[str] is the best I can do without more data.
2023-08-25 11:57:18 -04:00
a756df3d5c Add support for team membership role 2023-08-25 11:49:03 -04:00
42a1a68662 [commands] Fix obscuring name error 2023-08-25 11:36:25 -04:00
69e9bc9454 [commands] Fix nested hybrid groups inserting manual app commands 2023-08-24 14:34:01 -04:00
c7f6e95f1c [commands] Fix localization support for hybrid group fallback 2023-08-24 14:33:29 -04:00
16f6466da1 Fix Template.source_guild attempting to get from cache 2023-08-24 14:32:13 -04:00
8b8ce55378 Add encoder params to VoiceClient.play 2023-08-23 21:04:15 -04:00
b276f3f5a2 Split ffmpeg args
FFmpeg is actually capable of parsing this correctly but we split it for
consistency's sake.
2023-08-23 17:47:48 -04:00
62c1ab21b2 Fixes/improvements to FFmpegAudio and subclasses 2023-08-23 07:49:55 -04:00
673bedd285 Replace dot with space in Guild.vanity_invite docs 2023-08-22 06:06:26 -04:00