Commit Graph

4269 Commits

Author SHA1 Message Date
Rapptz
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
Rapptz
b6794fa6d1 Slightly improve performance of constructing Permissions using kwargs 2023-09-05 03:07:25 -04:00
Rapptz
94655cd804 Skip adding views to the synced message store if fully dynamic 2023-09-03 02:52:05 -04:00
Rapptz
f793af0456 Add item parameter to DynamicItem.from_custom_id 2023-09-03 02:52:05 -04:00
Rapptz
7c3868ef3b Add Client.remove_dynamic_items 2023-09-03 02:52:05 -04:00
Rapptz
a852f90358 Add support for dynamic items that parse custom_id for state 2023-09-03 02:52:05 -04:00
ambdroid
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
Imayhaveborkedit
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
Rapptz
e414d0fe04 [commands] Change default Bot.owner_ids to consider team roles 2023-08-30 20:49:06 -04:00
Rapptz
f74eb14d72 Remove owner from TeamMemberRole 2023-08-25 15:43:04 -04:00
Rapptz
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
Rapptz
a756df3d5c Add support for team membership role 2023-08-25 11:49:03 -04:00
Rapptz
42a1a68662 [commands] Fix obscuring name error 2023-08-25 11:36:25 -04:00
Rapptz
69e9bc9454 [commands] Fix nested hybrid groups inserting manual app commands 2023-08-24 14:34:01 -04:00
thegamecracks
c7f6e95f1c [commands] Fix localization support for hybrid group fallback 2023-08-24 14:33:29 -04:00
cibere
16f6466da1 Fix Template.source_guild attempting to get from cache 2023-08-24 14:32:13 -04:00
Imayhaveborkedit
8b8ce55378 Add encoder params to VoiceClient.play 2023-08-23 21:04:15 -04:00
Imayhaveborkedit
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
Imayhaveborkedit
62c1ab21b2 Fixes/improvements to FFmpegAudio and subclasses 2023-08-23 07:49:55 -04:00
Mikołaj Kruczek
673bedd285 Replace dot with space in Guild.vanity_invite docs 2023-08-22 06:06:26 -04:00
Server Bot
2e2f20c6d5 Fix Intents.auto_moderation flag to alias_flag_value 2023-08-11 16:45:53 -04:00
Rapptz
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
Rapptz
1d2177c610 Fix setting CustomActivity name 2023-08-10 16:23:34 -04:00
Imayhaveborkedit
cdc220fa4c Fix voice websocket not being closed before being replaced 2023-08-04 19:12:59 -04:00
Rapptz
e5da7f23cb Fix escape behaviour for lists and headers in escape_markdown
Fixes #9516
2023-08-01 21:25:47 -04:00
Rapptz
e6a0dc5bc0 Add support for media channels 2023-08-01 18:18:33 -04:00
Rapptz
ca5cbcbdf3 Reconnect a shard if disconnected during a HELLO OP 2023-08-01 18:16:11 -04:00
Rapptz
a361a08482 [commands] Add fallback behaviour for CurrentGuild parameter 2023-08-01 18:15:36 -04:00
fretgfr
5e9f679178 Fix NameError in GuildChannel.create_invite
Move InviteTarget out of type checking
2023-07-22 00:22:55 -04:00
Josh
c69ce78ad1 Add create_event permission 2023-07-18 05:45:34 -04:00
Soheab_
135e57c81f Add support for role flags 2023-07-18 05:44:03 -04:00
Rapptz
b7785d29cb Add CategoryChannel.forums shortcut property 2023-07-15 19:53:43 -04:00
Soheab_
14faa9bdab Add support for attachment flags 2023-07-14 21:41:44 -04:00
Rapptz
00ea67d315 Add two new audit log event types 2023-07-13 22:32:00 -04:00
Rapptz
b1ff8038c8 Add RawReactionActionEvent.message_author_id field 2023-07-13 22:08:41 -04:00
Rapptz
270fa5f2e0 [commands] Fix displayed_default for callables and None values 2023-07-07 00:09:10 -04:00
Rapptz
732f89b9e1 [commands] Fix =None being displayed in signatures for commands 2023-07-06 23:52:17 -04:00
Rapptz
5eeeef02e4 Remove cached emoji and sticker data if intent is disabled 2023-07-06 20:10:55 -04:00
EXPLOSION
eb06129378 [types] Update PremiumType and StickerFormatType 2023-07-04 22:43:06 -04:00
Josh
630b2a1e55 Update pyright version 2023-07-01 18:26:27 -04:00
Rapptz
0871b34fc8 [commands] Revert on_error when cog is ejected for HelpCommand 2023-06-28 08:20:54 -04:00
Aluerie ❤#6524
33243f9bd6 Fix Intents.emoji and emojis_and_stickers swapped alias decorators 2023-06-27 19:01:56 -04:00
Rapptz
646ab85bb6 [tasks] Fix missing name parameter in loop copy 2023-06-26 05:51:04 -04:00
Rapptz
03140c0163 [tasks] Add name parameter to give the internal task a name 2023-06-26 04:31:36 -04:00
Rapptz
c6bdb0b0dd Version bump for development 2023-06-26 04:14:15 -04:00
Rapptz
2a9640b516 Version bump to v2.3.1 2023-06-26 04:13:50 -04:00
Rapptz
5e86be3b72 [commands] Change lookup order to place nicknames last 2023-06-26 03:58:34 -04:00
Rapptz
2fdbe59376 Fix Message.channel being None for interactions 2023-06-23 00:19:57 -04:00
Soheab_
0efc05ccce Fix certain select types not appearing in Message.components 2023-06-23 00:19:52 -04:00
Alex Nørgaard
a7f2c670c9 Fix false positives in animated for PartialEmoji.from_str 2023-06-21 09:30:25 -04:00