Leonardo
622a166938
Update colour constants
2 years ago
o-wo
a6dd1fec73
Fix AuditLogDiff.type for webhooks
2 years ago
Jonte
e7ef85e504
Update create_stage_channel to support more parameters
2 years ago
Rapptz
473a2a65da
Add colour previews to the documentation
2 years ago
Rapptz
869aeb5f64
Clarify documentation on Message.publish
2 years ago
Soheab_
0f5a4f5070
Correct permission for bypass_verification field in Member.edit
2 years ago
Rapptz
ad6c727468
Remove unused import
2 years ago
Rapptz
5630d2b8f2
Fix Message.channel rebinding sometimes being Object
2 years ago
TheMaster3558
fb45200d61
Add dark_embed and light_embed to Colour
2 years ago
Rapptz
956697080d
Add support for passing client to Webhook.from_url and Webhook.partial
2 years ago
Rapptz
6ec3ecd493
Add support for silent messages
2 years ago
chrispy
0791afe687
[commands] Update Range examples to match app_commands.Range
2 years ago
Rapptz
54dbabe0d2
Fix default allowed_mentions for partial webhook state
2 years ago
Soheab_
dbd8c213cb
Add support for member flags
2 years ago
Rapptz
57b118b393
Fix webhooks and interactions not closing files after a request
2 years ago
Rapptz
286ce33218
Publicly expose ScheduledEvent.creator_id
Fix #9201
2 years ago
z03h
1015c23a44
Fix AuditLogDiff.type for integrations
2 years ago
Rapptz
5e1a80693f
Add Message.position and Message.application_id attributes
2 years ago
Rapptz
cf01caaf08
Document default_auto_archive_duration accepted values
2 years ago
Rapptz
b692254dca
Add missing AuditLogEntry.guild documentation
2 years ago
Rapptz
87254ec4f6
Document starter message requirements in ForumChannel.create_thread
2 years ago
Rapptz
a143153147
Simplify RoleTag implementation for always-null attributes
2 years ago
Rapptz
ad56fa8a13
Use Mapping instead of Dict for AuditLogEntry inner cache data
2 years ago
Rapptz
11aa26d4d7
Update pyright to 1.1.289
2 years ago
Rapptz
733c951163
Formally document utils.maybe_coroutine
2 years ago
AF-Sources
7804e2f492
Update documentation of User.avatar to be more clear
2 years ago
z03h
5c93f87945
Fix trigger missing regex_filter and allow_list in audit log
2 years ago
Willy
f74047a92e
Remove redundant int cast
2 years ago
Steve C
4d7f60c6d7
Fix 2 incorrect types for audit log converters
2 years ago
Zephyrkul
5f2f2bea88
Fall back to Object for AuditLogEntry.target
Co-authored-by: zephyrkul <[email protected] >
2 years ago
Rapptz
dbc3363c17
Update type hints in AuditLogEntry.user and AuditLogEntry.user_id
2 years ago
Rapptz
0dc05ae5e2
Add support for on_audit_log_entry_create event
2 years ago
Rapptz
b30fdfa66a
Add support for 'linked role' role tag
2 years ago
Rapptz
aafe7a1258
Add new message types to MessageType enum
2 years ago
Rapptz
2dd8f92309
Add support for role subscription reading
2 years ago
Rapptz
24118d0e81
Add support for ForumChannel.default_layout
2 years ago
Rapptz
450d250092
Update AutoModTrigger.regex_pattern documentation
2 years ago
Lia Marie
ace46f8e05
Update Guild.query_members docstring
2 years ago
Rapptz
f6d420cee7
Clarify Template.source_guild documentation
2 years ago
Rapptz
beb08e1aef
Fix Webhook.send returning ForumChannel for WebhookMessage.channel
2 years ago
Rapptz
12edcb8e21
Enable colour logging for docker even if tty is not set
2 years ago
Rapptz
d189230c3a
Fix AutoModRule.edit to work with actual snowflake types
Fixes #9159
2 years ago
Rapptz
e6f549008f
Fix implicit permission resolution for Thread
Fix #9153
2 years ago
Rapptz
221bbdc846
Add Locale.indonesian
2 years ago
rdrescher909
057e3c32a4
Add VocalGuildChannel.slowmode_delay
2 years ago
rdrescher909
bd643d9da1
Fix AutoModTrigger ignoring allow_list with type keyword
2 years ago
rdrescher909
6b1d572049
Add ForumChannel.get_thread
2 years ago
Rapptz
0924b90ca4
[commands] Respect ignore_extra for FlagConverter kw-only parameters
2 years ago
Rapptz
8f6cdf6957
Fix certain parameters not being respected in Guild.create_forum
2 years ago
Eta
ab9356be83
Fix async iterators requesting past their bounds
This affects Messageable.history, ScheduledEvent.users,
Client.fetch_guilds, and Guild.audit_logs.
To illustrate the problem, Messageable.history counted returned
messages to tell when to stop iteration, but did so before filtering
away those past the before or after boundaries. When both
oldest_first=False and an after boundary were provided, this led to the
history iterator continuing to retrieve messages older than the after
boundary, which would then all be filtered away, continuing until the
message limit or the beginning of the entire channel was reached.
A similar situation would also occur with oldest_first=True and a
before boundary provided.
This commit changes the logic in these methods to count items after
filtering, so they stop requesting more as soon as the in-bounds items
are exhausted.
2 years ago