4688 Commits

Author SHA1 Message Date
Leonardo
f4c0a051ab
[commands] Hint hybrid commands in GroupCog's description 2023-01-14 18:55:32 -05:00
AF-Sources
40db618d1e
Update documentation of User.avatar to be more clear 2023-01-14 08:02:44 -05:00
z03h
0cd24b73f7
Fix trigger missing regex_filter and allow_list in audit log 2023-01-14 07:59:42 -05:00
Willy
82b12ba481
Remove redundant int cast 2023-01-12 23:39:07 -05:00
Steve C
f950019c75
Fix 2 incorrect types for audit log converters 2023-01-12 23:38:52 -05:00
Rapptz
bba2c94990 Update FAQ entry on audit log entry event 2023-01-12 20:42:09 -05:00
Zephyrkul
509a5d771f
Fall back to Object for AuditLogEntry.target
Co-authored-by: zephyrkul <zephyrkul@users.noreply.github.com>
2023-01-12 20:27:28 -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
Rapptz
4d8ded95fb Update description for UserFlags.discord_certified_moderator 2023-01-10 16:51:06 -05:00
Rapptz
cbc46e0973 Add support for ForumChannel.default_layout 2023-01-10 16:43:18 -05:00
Rapptz
9930c672bb Add AppInfo.role_connections_verification_url 2023-01-10 16:31:02 -05:00
Rapptz
d8da6a8da1 Update AutoModTrigger.regex_pattern documentation 2023-01-10 16:27:06 -05:00
chrispy
7f796a68ca
Add str and float examples to app_commands.Range documentation
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2023-01-10 16:24:04 -05:00
Lia Marie
dc194409c4
Update Guild.query_members docstring 2023-01-10 16:22:51 -05:00
Rapptz
d3249445f3 Revert "Allow empty strings to be in Embed.to_dict"
This reverts commit a72fc7416c8f17ee270a0f13ae160a60b9127630.

Discord no longer allows this and the original rationale for allowing
this was weak to begin with.
2023-01-10 15:58:37 -05:00
Rapptz
d609c78a9e Clarify Template.source_guild documentation 2023-01-07 02:46:21 -05:00
Rapptz
3f81984ebb Document permissions required for automod events 2023-01-07 02:46:21 -05:00
TheMaster3558
5600bf1d8b
Reformat code with black and use single quotes 2023-01-06 19:54:00 -05:00
Rapptz
d257b0c07b Fix Webhook.send returning ForumChannel for WebhookMessage.channel 2023-01-05 18:27:50 -05:00
Rapptz
1700086f1a Enable colour logging for docker even if tty is not set 2023-01-01 06:13:44 -05:00
Rapptz
7863418ddb Fix AutoModRule.edit to work with actual snowflake types
Fixes #9159
2022-12-30 01:58:33 -05:00
Rapptz
887ddbb4b6 Fix implicit permission resolution for Thread
Fix #9153
2022-12-29 07:17:41 -05:00
Rapptz
50e66d4072 Add delete_after to Interaction.edit_message
Closes #9415
2022-12-29 06:56:15 -05:00
Zephyrkul
7cf3cd51a5
Revert "Infer select type from callback annotation 2022-12-18 05:17:41 -05:00
Zephyrkul
b671958e11
Infer select type from callback annotation 2022-12-14 21:59:16 -05:00
Rapptz
bdeccaf106 Add Locale.indonesian 2022-12-14 19:22:49 -05:00
Soheab_
a72fc7416c
Allow empty strings to be in Embed.to_dict 2022-12-14 19:11:12 -05:00
Abe Hanoka
4adfde1a7b
Fix missing word in persistent view example 2022-12-14 19:09:45 -05:00
github-actions[bot]
af655c1027
[Crowdin] Updated translation files 2022-12-14 19:08:53 -05:00
rdrescher909
9b6753f3b4
Add VocalGuildChannel.slowmode_delay 2022-12-14 19:08:30 -05:00
rdrescher909
cc3b987229
Fix AutoModTrigger ignoring allow_list with type keyword 2022-12-14 19:07:32 -05:00
rdrescher909
039d588447
Add ForumChannel.get_thread 2022-12-14 19:06:37 -05:00
rdrescher909
799e3c5bf0
Fix Status.invisible description wording 2022-12-02 19:44:29 -05:00
Marble
ec9089cf0a
Add intents to example 2022-12-02 19:43:26 -05:00
rdrescher909
c0dfdf1bef
Add autocomplete warning about user input 2022-12-02 06:10:03 -05:00
Rapptz
da317ad84b [commands] Respect ignore_extra for FlagConverter kw-only parameters 2022-11-29 18:09:53 -05:00
Rapptz
a098867a4d Fix certain parameters not being respected in Guild.create_forum 2022-11-27 23:51:52 -05:00
Eta
4122bef8ee
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.
2022-11-27 01:43:24 -05:00
rdrescher909
324dfe0163
Add tasks.loop examples using time parameter 2022-11-26 14:10:32 -05:00
Guddi
66d85007b7
Uppercase color codes in the docs 2022-11-21 01:16:01 -05:00
Alex Nørgaard
50078087e5
[commands] Fix variance issues in Bot.add_cog with List[Snowflake] 2022-11-21 01:15:18 -05:00
rdrescher909
436d0849d9
Fix UI Kit description typo 2022-11-17 21:36:12 -05:00
cibere
f61f7411df
Add setter method for ChannelSelect.channel_types 2022-11-17 05:46:09 -05:00
Varun J
029ed6c46d
Version bump for development 2022-11-16 11:28:38 -05:00