Rapptz
7c65bca11c
Add changelog for v2.3.2
2023-08-10 17:35:42 -04:00
Rapptz
d381d4c070
Fix setting CustomActivity name
2023-08-10 17:23:21 -04:00
Rapptz
506947568c
Reconnect a shard if disconnected during a HELLO OP
2023-08-10 17:07:08 -04:00
Rapptz
6e202749d6
[commands] Add fallback behaviour for CurrentGuild parameter
2023-08-10 17:07:05 -04:00
Rapptz
3679b7c251
[commands] Fix displayed_default for callables and None values
2023-08-10 17:01:50 -04:00
Rapptz
c67a0c1972
[commands] Fix =None being displayed in signatures for commands
2023-08-10 17:01:48 -04:00
Rapptz
ee99036659
[commands] Revert on_error when cog is ejected for HelpCommand
2023-08-10 16:55:32 -04:00
Rapptz
2a9640b516
Version bump to v2.3.1
2023-06-26 04:13:50 -04:00
Rapptz
d48116af3b
Add changelog for v2.3.1
2023-06-26 04:13:18 -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
Rapptz
49e31e9e23
Use cache data if available for Interaction.channel
...
The data from Discord does not contain all the attributes that the
cached data has. There may be a slight chance that the interaction data
is more up to date than the cached data or vice versa but more
information tends to trump over this slight chance.
2023-06-17 01:24:10 -04:00
Rapptz
dc4ed438a5
Fix plain username lookup for Guild.get_member_named
...
Fix #9451
2023-06-12 19:39:46 -04:00
Rapptz
0c6a2fc3d5
Version bump for development
2023-06-12 14:03:02 -04:00
Rapptz
c785e4ba75
Version bump to v2.3
2023-06-12 13:40:41 -04:00
Rapptz
9f5b6c2bed
Add changelog for v2.3
2023-06-12 13:40:12 -04:00
Rapptz
cf681105ce
Rename Permissions.manage_guild_expressions to manage_expressions
2023-06-11 13:52:16 -04:00
Rapptz
a8675ccde8
Fix afk_channel docstring error
2023-06-11 12:52:47 -04:00
Rapptz
abfb3a11b0
Refactor Guild.afk_channel to use a property
2023-06-11 12:49:17 -04:00
Rapptz
c5da0fe7c1
Remove and address stale TODO comments
2023-06-11 12:41:04 -04:00
Rapptz
f1bade4bda
Hoist webhook detection outside of store_user helper
2023-06-11 12:41:04 -04:00
Rapptz
d34a88411d
Fix spelling of DefaultAvatar colour doc strings
2023-06-07 22:13:58 -04:00
Rapptz
eedd7e3014
Add support for new pink default avatars
2023-06-07 22:12:47 -04:00
Rapptz
914773d0fb
Remove trailing whitespace
2023-06-04 07:53:25 -04:00
Rapptz
223e95a252
Catch TypeError for unhashable annotation types
2023-06-04 07:52:09 -04:00
Rapptz
e870bb1335
Add constant for the default file size limit
2023-05-19 21:21:37 -04:00
Rapptz
8d583ea71b
Update discriminator again for user_update events
2023-05-19 20:59:19 -04:00
Rapptz
8d17aa23c9
Remove @ prefix from usernames
...
Discord seemed to have backtracked on this display
2023-05-19 20:59:19 -04:00
Rapptz
48cca30ca1
Revert removal of discriminator lookup
2023-05-19 20:59:19 -04:00
Rapptz
9ebc13e160
Only use @ prefix in __str__ if the user is migrated
2023-05-19 20:59:19 -04:00
Rapptz
b8310268b0
Fix default_avatar detection for migrated users
2023-05-19 20:59:19 -04:00
Rapptz
df01db3490
Initial support for pomelo migration
2023-05-19 20:59:19 -04:00
Rapptz
3951b61440
Allow Interaction webhook URLs to be used in Webhook.from_url
2023-05-19 09:44:23 -04:00
Rapptz
8d047d9e1d
Fix opus.Decoder triggering a segfault
2023-05-11 02:27:01 -04:00
Rapptz
252ac38f92
Add fallback ClientUser.mutual_guilds property
...
Fixes #9387
2023-05-05 10:57:21 -04:00
Rapptz
c8e2644497
Fix custom attributes not being copied over for subclassed Group
2023-05-02 20:13:10 -04:00
Rapptz
2880f15287
Add changelog for v2.2.3
2023-05-01 18:41:32 -04:00
Rapptz
da10065c19
Fix channel edits on webhooks sending two requests
2023-04-27 18:05:43 -04:00
Rapptz
c57d488ca6
Fix FileHandler having ANSI escapes when used within PyCharm
2023-04-25 00:19:20 -04:00
Rapptz
cb6170a724
Fix AuditLogEntry.target being None for invites
...
Fix #9336
2023-04-18 06:16:42 -04:00
Rapptz
0adef0ec89
Update auto_archive_duration documentation
...
Fix #9351
2023-04-18 06:03:48 -04:00
Rapptz
ebc1bc3cbb
Fix crash from Discord sending null channel_id for automod audit logs
2023-03-28 04:10:59 -04:00
Rapptz
bb7668f8a5
Upgrade Message.guild references if None in Interaction
2023-03-24 04:12:47 -04:00
Rapptz
064cbd1125
Clean up Guild.edit documentation
2023-03-17 18:02:02 -04:00
Rapptz
08d668f21b
Fix improper usages of Optional MISSING in create_forum
2023-03-12 22:22:42 -04:00
Rapptz
c495762aa6
Fix Widget.members type docstring
2023-03-12 22:20:50 -04:00
Rapptz
78099992dd
Version bump for development
2023-03-01 22:49:32 -05:00
Rapptz
78175ded1b
Version bump to v2.2.2
2023-03-01 22:48:19 -05:00
Rapptz
82bfb3cf34
Version bump for development
2023-03-01 19:44:50 -05:00
Rapptz
bbf2cce488
Version bump to v2.2.1
2023-03-01 19:44:50 -05:00
Rapptz
4661fff2a0
Add changelog for v2.2.1
2023-03-01 19:44:50 -05:00
Rapptz
7a0744c9a9
Version bump for development
2023-02-28 09:10:46 -05:00
Rapptz
7f1b39b5b3
Version bump to v2.2.0
2023-02-28 09:10:18 -05:00
Rapptz
f849a54914
Add changelog for v2.2
2023-02-28 09:02:42 -05:00
Rapptz
2d6c50dbe1
Add note about colour changing
2023-02-28 09:02:42 -05:00
Rapptz
bd6bbdab00
Add support for stage message types
2023-02-27 09:17:40 -05:00
Rapptz
517d7ae4fe
Avoid converting target_id if it's None
2023-02-25 06:05:16 -05:00
Rapptz
fd9f3e9eff
Update docs with references to text in stage
2023-02-25 03:27:04 -05:00
Rapptz
da4651c97c
Implement Messageable for StageChannel
...
Fix #9248
2023-02-25 03:13:55 -05:00
Rapptz
4e09c34bbb
Suppress exceptions from invoking autocomplete
2023-02-17 13:24:59 -05:00
Rapptz
0c68eb338c
Add colour previews to the documentation
2023-02-16 10:45:53 -05:00
Rapptz
94fa00fbfd
Clarify documentation on Message.publish
2023-02-13 23:54:02 -05:00
Rapptz
40227f75de
Fix select decorator type checking error
2023-02-13 23:53:56 -05:00
Rapptz
a2b09c0ecd
Remove unused import
2023-02-11 18:40:17 -05:00
Rapptz
ec71a46907
Fix Message.channel rebinding sometimes being Object
2023-02-11 18:25:42 -05:00
Rapptz
4057afad6a
Add support for passing client to Webhook.from_url and Webhook.partial
2023-02-09 23:22:45 -05:00
Rapptz
3af6b308ab
Add changelog for v2.1.1
2023-02-09 16:20:10 -05:00
Rapptz
441d38f56b
Add fallback for sticker filename lookup
2023-02-09 16:19:01 -05:00
Rapptz
1395d3b495
Fix NameError in audit log target for app commands
2023-02-09 06:14:27 -05:00
Rapptz
183675be74
Add support for silent messages
2023-02-08 15:40:33 -05:00
Rapptz
93ed1646d2
Cleanup some private utilities in app_commands.commands
2023-02-02 00:33:18 -05:00
Rapptz
f1bd618b83
Pin black to v22.6
2023-02-01 08:24:52 -05:00
Rapptz
23bcb07d2b
[commands] Fix generic arg on Context.interaction
2023-02-01 07:46:31 -05:00
Rapptz
346ade168e
Fix default allowed_mentions for partial webhook state
2023-01-31 08:58:56 -05:00
Rapptz
7e95f98521
Fix webhooks and interactions not closing files after a request
2023-01-25 04:22:24 -05:00
Rapptz
faee0b4968
[commands] Explicit set traceback for hybrid invoke
...
Fix #9205
2023-01-25 03:05:24 -05:00
Rapptz
6cb9a84898
Fix views not being removed from message store backing
...
This uses the original interaction ID if available for cache eviction
2023-01-25 02:37:30 -05:00
Rapptz
02031d08fb
Publicly expose ScheduledEvent.creator_id
...
Fix #9201
2023-01-24 09:39:22 -05:00
Rapptz
3d2dedbc58
Add Message.position and Message.application_id attributes
2023-01-21 22:48:36 -05:00
Rapptz
26beabb740
Document default_auto_archive_duration accepted values
2023-01-21 00:12:21 -05:00
Rapptz
bee7f903e3
Document Interaction.message availability
2023-01-21 00:07:50 -05:00
Rapptz
aa981ade1d
Add missing AuditLogEntry.guild documentation
2023-01-21 00:04:08 -05:00
Rapptz
bbba8c650f
Add missing generic parameters on various Interaction parameters
2023-01-19 07:00:16 -05:00
Rapptz
a8177dd5bd
Document starter message requirements in ForumChannel.create_thread
2023-01-18 07:11:49 -05:00
Rapptz
3c91d2163e
Fix overload for on_raw_typing in wait_for
2023-01-17 00:48:29 -05:00
Rapptz
980fe7b0f9
Simplify RoleTag implementation for always-null attributes
2023-01-16 22:07:23 -05:00
Rapptz
68c929cddf
Use Mapping instead of Dict for AuditLogEntry inner cache data
2023-01-16 22:03:31 -05:00
Rapptz
3ff88db768
Update pyright to 1.1.289
2023-01-16 21:57:54 -05:00
Rapptz
bf860b0b07
Add support for generic ClientT in Interaction
2023-01-16 21:57:54 -05:00
Rapptz
469f006d8b
Formally document utils.maybe_coroutine
2023-01-16 21:00:58 -05:00
Rapptz
ed40d55f99
Fix overloads for select decorator
2023-01-16 20:54:29 -05:00
Rapptz
ef7d740524
Add overload for audit_log_entry_create
2023-01-16 20:38:53 -05:00
Rapptz
bba2c94990
Update FAQ entry on audit log entry event
2023-01-12 20:42:09 -05:00
Rapptz
d11c42c2e6
Update type hints in AuditLogEntry.user and AuditLogEntry.user_id
2023-01-12 18:21:01 -05:00
Rapptz
2869d8000d
Add support for on_audit_log_entry_create event
2023-01-12 18:16:36 -05:00
Rapptz
24495e5505
Add support for GIF sticker type
2023-01-10 18:18:43 -05:00
Rapptz
48ef01204c
Add support for 'linked role' role tag
2023-01-10 18:13:01 -05:00
Rapptz
8e52db1f1b
Add new message types to MessageType enum
2023-01-10 18:10:30 -05:00
Rapptz
3d24f0fb12
Add support for role subscription reading
2023-01-10 18:05:00 -05:00
Rapptz
e802a87916
Synchronise Guild.features type hints with newest entries
2023-01-10 17:01:20 -05:00