Commit Graph

4021 Commits

Author SHA1 Message Date
9ea6ee8887 Add support for ForumChannel annotations in app commands 2022-08-30 05:09:50 -04:00
6ab6b2cb96 [commands] Fix Context.from_interaction ignoring command_failed 2022-08-30 05:08:11 -04:00
7d1cb08c6d Remove buckets from webhook ratelimit warnings 2022-08-30 00:53:47 -04:00
3af6b9a1e9 Fix unescaped period in webhook regex 2022-08-30 00:53:28 -04:00
2d180489ce Fix KeyError constructing groups when no module is present 2022-08-30 00:53:05 -04:00
64744a4938 [commands] Add missing attributetable to classes 2022-08-30 00:50:59 -04:00
896513b3ac Clarify some documentation in Guild features
Add afk_timeout unit and changed VIP_REGIONS feature description
2022-08-30 00:50:17 -04:00
0981f122af Add overloads to utils.sleep_until 2022-08-28 02:08:38 -04:00
c2f9e0be43 Add additional audit log types for automod 2022-08-28 02:08:05 -04:00
e57617e157 Add support for delete_message_seconds ban argument 2022-08-28 02:06:57 -04:00
2e37e47e38 Fix autocomplete documentation to mention it only passes strings 2022-08-28 02:01:29 -04:00
8ab4d25d40 Version bump for development 2022-08-27 19:52:46 -04:00
cb587f67ba Version bump to v2.0.1 2022-08-27 19:47:48 -04:00
e62473a1b4 Fix incorrect docs in select menu min_values 2022-08-27 03:09:03 -04:00
7c1dffbf9d Use importlib.metadata instead of pkg_resources 2022-08-26 12:00:46 -04:00
b92fd65707 Document app_commands.Choice limits 2022-08-26 11:59:12 -04:00
b12b4b18fd Mark public callbacks as positional-only 2022-08-22 15:21:19 -04:00
01bb7ecb79 [commands] Add support for types.Union to Greedy 2022-08-21 18:26:32 -04:00
354d4bace4 Add missing decorator signs for interaction documentation 2022-08-21 18:25:31 -04:00
5fe54b3ae6 Remove __slots__ from abc protocols
Fix #8354
2022-08-19 19:10:19 -04:00
641dcf61a5 [commands] Fix incorrect docs in dynamic_cooldown
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2022-08-19 16:15:14 -04:00
59677c6738 Fix CommandTree.on_error not triggering if interaction_check raises 2022-08-18 21:10:10 -04:00
6327402730 Update View timeout only if interaction_check passes 2022-08-18 18:55:50 -04:00
5c7f6dd37e Clarify when None is returned from Member.edit 2022-08-18 09:52:28 -04:00
bc00bc495e Document attachment:// URI more prominently in Embed docs 2022-08-18 09:50:16 -04:00
4abea7bafa Version bump for development 2022-08-17 23:30:19 -04:00
575af0ff51 Version bump to v2.0.0 2022-08-17 23:28:51 -04:00
2bf2bfc9b4 Add utils.setup_logging to help set up logging outside of Client.run 2022-08-17 22:53:03 -04:00
1c7747fe9d Fix nested Annotated calls not resolving 2022-08-17 10:41:57 -04:00
8dd186cf1e Fix cache eviction for ratelimit objects 2022-08-17 08:39:39 -04:00
54ee383585 [commands] Add warning if Intent.message_content is not enabled 2022-08-17 03:52:29 -04:00
cdce8fae5b Change ui.TextInput.value to not be Optional 2022-08-17 02:26:17 -04:00
f52a02359d Use built-in isascii instead of regex 2022-08-17 01:52:29 -04:00
659d6b6123 Make app_commands.describe examples consistent 2022-08-16 20:10:14 -04:00
bd19ad05e7 Fix app_command_completion triggering on certain errors 2022-08-16 20:03:02 -04:00
7be0779b65 Add root_logger setting to Client.run
This allows people one way to use the colour logger globally
2022-08-16 20:03:02 -04:00
f12cdd5f90 Switch quotes to make docs example render properly 2022-08-16 19:11:55 -04:00
288f2d169e Document that docstrings can be used to document parameters 2022-08-16 17:00:09 -04:00
5039b967a0 Document get_thread not fetching archived threads 2022-08-16 16:59:20 -04:00
1097e1d975 Add mention_spam automod trigger and change default values 2022-08-16 16:58:59 -04:00
1a11c9eeee [commands] Properly set module information for hybrid commands 2022-08-16 01:28:27 -04:00
de5fa8bc9c Improve sync error format for children options 2022-08-16 01:18:12 -04:00
4182496713 Add missing required property to Parameter 2022-08-15 14:24:16 -04:00
596f2ca222 Fix time_snowflake not being documented 2022-08-15 14:01:54 -04:00
6b50fcd5e4 Add Command.parameters to get all parameters of a command 2022-08-15 13:42:47 -04:00
5b56899676 Change snowflake_time and time_snowflake parameters to pos/kw-only 2022-08-15 13:39:03 -04:00
668196c14c [commands] Add description kwarg to parameters and show in default help 2022-08-15 12:18:23 -04:00
54541ba6f0 Ensure FFmpeg players have a _process attribute set even during errors 2022-08-15 10:32:07 -04:00
3802780f77 Change a lot of logging INFO calls to be less verbose
Some of the logs were only useful for debug scenarios, so they have
been downgraded to DEBUG. Others were in INFO but supposed to be in
WARNING so those were upgraded.
2022-08-15 10:21:36 -04:00
0ec06f0ac5 Add on_app_command_completion event
Fix #8126
2022-08-15 09:19:01 -04:00