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
sgtlaggy
ae372779aa
Add extra error handling to converters example
2 years ago
sgtlaggy
2fbafd14b2
Add missing `cancel()` in tasks example
2 years ago
sgtlaggy
280351de14
Update tasks example to start in `setup_hook`
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
Rapptz
c7f43affc9
Update FAQ entry on audit log entry event
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
acdedea6de
Document permissions required for automod events
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
rdrescher909
a07c664247
Fix Status.invisible description wording
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
rdrescher909
c759baa57e
Add tasks.loop examples using time parameter
2 years ago
Guddi
f8f088289d
Uppercase color codes in the docs
2 years ago