Commit Graph

4233 Commits

Author SHA1 Message Date
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
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
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
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
2e2f20c6d5 Fix Intents.auto_moderation flag to alias_flag_value 2023-08-11 16:45:53 -04:00
2348d72a72 Use the interaction user's guild as a fallback for Interaction.guild
This ensures that the unavailable guild that is created within __init__
is used instead of constantly recreating it.
2023-08-11 16:22:26 -04:00
1d2177c610 Fix setting CustomActivity name 2023-08-10 16:23:34 -04:00
cdc220fa4c Fix voice websocket not being closed before being replaced 2023-08-04 19:12:59 -04:00
e5da7f23cb Fix escape behaviour for lists and headers in escape_markdown
Fixes #9516
2023-08-01 21:25:47 -04:00
e6a0dc5bc0 Add support for media channels 2023-08-01 18:18:33 -04:00
ca5cbcbdf3 Reconnect a shard if disconnected during a HELLO OP 2023-08-01 18:16:11 -04:00
a361a08482 [commands] Add fallback behaviour for CurrentGuild parameter 2023-08-01 18:15:36 -04:00
5e9f679178 Fix NameError in GuildChannel.create_invite
Move InviteTarget out of type checking
2023-07-22 00:22:55 -04:00
c69ce78ad1 Add create_event permission 2023-07-18 05:45:34 -04:00
135e57c81f Add support for role flags 2023-07-18 05:44:03 -04:00
b7785d29cb Add CategoryChannel.forums shortcut property 2023-07-15 19:53:43 -04:00
14faa9bdab Add support for attachment flags 2023-07-14 21:41:44 -04:00
00ea67d315 Add two new audit log event types 2023-07-13 22:32:00 -04:00
b1ff8038c8 Add RawReactionActionEvent.message_author_id field 2023-07-13 22:08:41 -04:00
270fa5f2e0 [commands] Fix displayed_default for callables and None values 2023-07-07 00:09:10 -04:00