Commit Graph

429 Commits

Author SHA1 Message Date
4e276f59d7 Fix on_socket_raw_send and on_raw_thread_member_remove param types 2023-04-18 08:53:56 -04:00
952558d594 [docs] Add missing attributes to AuditLogDiff 2023-04-18 08:04:47 -04:00
a1295868a6 Add support for default_sort_order in ForumChannel 2023-03-05 17:30:23 -05:00
53ce47534d Add more missing AuditLogDiff attrs 2023-03-01 08:55:16 -05:00
26f49512b5 Fix member_prune extras attribute name 2023-02-28 17:25:20 -05:00
e4667386ea Add missing AuditLogDiff attributes for AuditLogAction.guild_update 2023-02-28 09:00:33 -05:00
bd6bbdab00 Add support for stage message types 2023-02-27 09:17:40 -05:00
d26dbf3a7a Fix a few typos in the docs
Co-authored-by: o-wo <24418520+o-wo@users.noreply.github.com>
2023-02-23 00:47:08 -05:00
b19897fce1 Fix AuditLogDiff.type for webhooks 2023-02-21 17:31:01 -05:00
c46f309c13 Add support for member flags 2023-01-25 11:12:31 -05:00
39f1f84718 Fix AuditLogDiff.type for integrations 2023-01-22 09:01:15 -05:00
469f006d8b Formally document utils.maybe_coroutine 2023-01-16 21:00:58 -05:00
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
2869d8000d Add support for on_audit_log_entry_create event 2023-01-12 18:16:36 -05:00
24495e5505 Add support for GIF sticker type 2023-01-10 18:18:43 -05:00
8e52db1f1b Add new message types to MessageType enum 2023-01-10 18:10:30 -05:00
3d24f0fb12 Add support for role subscription reading 2023-01-10 18:05:00 -05:00
4d8ded95fb Update description for UserFlags.discord_certified_moderator 2023-01-10 16:51:06 -05:00
cbc46e0973 Add support for ForumChannel.default_layout 2023-01-10 16:43:18 -05:00
3f81984ebb Document permissions required for automod events 2023-01-07 02:46:21 -05:00
bdeccaf106 Add Locale.indonesian 2022-12-14 19:22:49 -05:00
799e3c5bf0 Fix Status.invisible description wording 2022-12-02 19:44:29 -05:00
55f272f6e7 Document UserFlags.active_developer 2022-11-10 23:47:52 -05:00
ce06beeb6c Fix permissions-based docstrings to be more consistent 2022-09-17 14:07:39 -04:00
ab265dcb7c Add support for newest ForumChannel changes
This adds the following:

- Forum tag support
- Default reaction support
- Default slowmode for newly created threads
2022-08-31 11:09:56 -04:00
ee59d9651a Add missing attributetable to classes 2022-08-30 00:50:40 -04:00
c2f9e0be43 Add additional audit log types for automod 2022-08-28 02:08:05 -04:00
2bf2bfc9b4 Add utils.setup_logging to help set up logging outside of Client.run 2022-08-17 22:53:03 -04:00
1097e1d975 Add mention_spam automod trigger and change default values 2022-08-16 16:58:59 -04:00
596f2ca222 Fix time_snowflake not being documented 2022-08-15 14:01:54 -04:00
0ec06f0ac5 Add on_app_command_completion event
Fix #8126
2022-08-15 09:19:01 -04:00
1fa7d7e402 Raise special CommandSyncFailure during sync for better errors
This is parsed from the error to allow for users to better debug
what exactly is causing the issue in sync.
2022-08-12 22:36:13 -04:00
57efb5a5a0 Fix failing tests to use new get_parameter function 2022-08-09 08:02:41 -04:00
7d11e2a27c Remove documentation for on_group_join/leave 2022-07-30 22:39:30 -04:00
76402b00f9 Allow configuring the maximum ratelimit timeout before erroring
This is useful for cases where a rate limit is known to be
extraordinarily high, but you still want to handle the error.
This is common with routes such as emoji creation.
2022-07-19 01:36:18 -04:00
1aaa32d4bc Add on_raw_app_command_permissions_update event 2022-07-10 04:00:26 -04:00
04aeff660b Add automod types to audit log 2022-07-07 19:30:03 -04:00
3b5cd3b92c Fix audit log for multiple app command permission updates 2022-06-29 22:20:23 -04:00
77a7b17265 Fix tiny errors 2022-06-29 21:50:52 -04:00
824bbce95b Add documetation for auto_moderation_action MessageType enum 2022-06-28 08:44:19 -04:00
5426d19dc7 Implement AutoMod 2022-06-27 00:47:52 -04:00
d0a52f4276 Fix typo and capitalizations in docs 2022-06-19 23:02:53 -04:00
2b9e43dbf9 Change Message.application type to MessageApplication
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2022-06-13 16:34:41 -04:00
53685b9b86 Change stderr prints to use the logging module instead 2022-06-13 01:06:15 -04:00
be6db20255 Add on_raw_thread_member_remove event 2022-06-09 01:58:50 -04:00
3aa55ba1ed Implement Application Command Permissions models 2022-06-07 01:35:33 -04:00
06c1f44d74 Add on_raw_thread_update event 2022-06-03 04:49:32 -04:00
6a4d5eef52 Fix documentation errors in discord.Invite and on_integration_update 2022-06-01 02:36:51 -04:00
cdfccfbe74 Fix description of user parameter in reaction remove event 2022-05-28 23:47:37 -04:00
cf031f71b9 Add a new extlink for discord documentation 2022-05-27 04:05:01 -04:00