Commit Graph
4711 Commits
Author SHA1 Message Date
Rapptz 02031d08fb Publicly expose ScheduledEvent.creator_id
Fix #9201
2023-01-24 09:39:22 -05:00
z03h 39f1f84718 Fix AuditLogDiff.type for integrations 2023-01-22 09:01:15 -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
Alex Nørgaard c677ad0312 Add missing generic to interaction in item callback 2023-01-19 04:38:39 -05:00
Trevor 2e737e70de Correct app command decorators that use Interaction 2023-01-18 21:10:08 -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
375a001da8 Add overloads for all the events in the event reference
Co-authored-by: Sebastian Law <sebnlaw@gmail.com>
Co-authored-by: Josh <8677174+bijij@users.noreply.github.com>
2023-01-16 20:36:00 -05:00
sgtlaggy 5124b73d14 Add extra error handling to converters example 2023-01-14 18:56:38 -05:00
sgtlaggy dd2125e6b6 Make error handler in modal example more helpful 2023-01-14 18:56:38 -05:00
sgtlaggy de2349e707 Add missing cancel() in tasks example 2023-01-14 18:56:38 -05:00
sgtlaggy 5d39f96c85 Update tasks example to start in setup_hook 2023-01-14 18:56:38 -05:00
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
Zephyrkulandzephyrkul 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
chrispyandDanny 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 a72fc7416c.

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