4097 Commits

Author SHA1 Message Date
Rapptz
8aaeb6acfa Parse gateway URL as an actual URL using yarl
Discord has changed the URL format to make it infeasible to edit it
using basic string interpolation.
2022-09-17 22:51:23 -04:00
Vioshim
46d194df57
Fix passing None to ForumTag.emoji constructor 2022-09-17 14:12:34 -04:00
Ryu Juheon
e1961676a9
Fix import to appease mypy's import resolution 2022-09-17 14:11:50 -04:00
Steve C
ce06beeb6c
Fix permissions-based docstrings to be more consistent 2022-09-17 14:07:39 -04:00
Rapptz
a53b609e37 Fix ForumChannel annotation not working for app_commands
Closes #8472
2022-09-17 00:12:06 -04:00
Jakub Kuczys
b5dc9e54a0
Change VoiceProtocol user callbacks to be pos-only 2022-09-15 19:30:43 -04:00
z03h
c854ee2978
Fix default_thread_slowmode_delay 2022-09-15 19:29:21 -04:00
Caleb
edfacb36cf
[commands] Fix HybridCommandGroup._update_copy to update fallback
Fix #8461
2022-09-12 15:31:08 -04:00
Ionite
6981eb69c4
Normalize type formatting in TypeError
Normalize most mixed usages of `__class__`, `__class__!r`, 
`__class__.__name__!r` to the standard form of 
`__class__.__name__`
2022-09-12 15:25:55 -04:00
Rapptz
9971c2e09a [commands] Add __repr__ to Range 2022-09-08 02:06:36 -04:00
Varun J
75fd49e6a1
[commands] fix Range to allow 3.10 Union syntax 2022-09-08 02:04:07 -04:00
Narmy
035dd812de
Add note about renamed options in the Namespace
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2022-09-07 08:04:03 -04:00
Rapptz
1c163b66cd Fix stage_instances and guild_schedule_events clearing on GUILD_UPDATE 2022-09-06 17:45:01 -04:00
Rapptz
771476a8d8 Fix _errors key being visible in CommandSyncError in some cases 2022-09-06 02:56:48 -04:00
Rapptz
5cc6af5917 Fix CommandSyncFailure raising for other 400 error types 2022-09-06 02:56:48 -04:00
Lilly Rose Berner
e8f6b29a2d
Update flags and applied tags on thread update 2022-09-04 10:42:19 -04:00
Rapptz
9ed5fbecea [commands] Add support for NumPy style docstrings for commands 2022-09-04 00:34:17 -04:00
Rapptz
27b19ed582 Change error message for unbound callbacks in ContextMenu 2022-09-04 00:34:17 -04:00
Evan J. Markowitz
e04af033c0
Add applied_tags to ForumChannel.create_thread to match Thread.edit 2022-09-03 12:01:41 -04:00
Soheab
c83134ab65
Add Interaction.translate method
Co-authored-by: I. Ahmad <54180221+nerdguyahmad@users.noreply.github.com>
Co-authored-by: James Hilton-Balfe <gobot1234yt@gmail.com>
Co-authored-by: Bluesy <68259537+Bluesy1@users.noreply.github.com>
Co-authored-by: Nadir Chowdhury <chowdhurynadir0@outlook.com>
2022-09-03 11:53:55 -04:00
Josh
df21c26195
Add support for toggling discoverable and invites_disabled features 2022-09-03 11:51:21 -04:00
Rapptz
fdebe069a6 Change ForumTag.emoji to be optional 2022-09-03 00:23:07 -04:00
Rapptz
aa0acf1d56 Add more options to Guild.create_forum 2022-09-01 05:10:41 -04:00
Rapptz
40b91f0e2a Remove TextChannel.default_thread_slowmode_delay
This doesn't have meaning on text channels apparently
2022-09-01 04:52:44 -04:00
Rapptz
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
NextChai
bdda31307b
[commands] Add GroupCog.group_extras to set Group.extras
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2022-08-31 01:28:39 -04:00
Rapptz
9ea6ee8887 Add support for ForumChannel annotations in app commands 2022-08-30 05:09:50 -04:00
Rapptz
6ab6b2cb96 [commands] Fix Context.from_interaction ignoring command_failed 2022-08-30 05:08:11 -04:00
Rapptz
7d1cb08c6d Remove buckets from webhook ratelimit warnings 2022-08-30 00:53:47 -04:00
Nihaal Sangha
3af6b9a1e9
Fix unescaped period in webhook regex 2022-08-30 00:53:28 -04:00
Lilly Rose Berner
2d180489ce
Fix KeyError constructing groups when no module is present 2022-08-30 00:53:05 -04:00
Puncher
64744a4938
[commands] Add missing attributetable to classes 2022-08-30 00:50:59 -04:00
Puncher
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
Josh
0981f122af
Add overloads to utils.sleep_until 2022-08-28 02:08:38 -04:00
Josh
c2f9e0be43
Add additional audit log types for automod 2022-08-28 02:08:05 -04:00
Josh
e57617e157
Add support for delete_message_seconds ban argument 2022-08-28 02:06:57 -04:00
Rapptz
2e37e47e38 Fix autocomplete documentation to mention it only passes strings 2022-08-28 02:01:29 -04:00
Rapptz
8ab4d25d40 Version bump for development 2022-08-27 19:52:46 -04:00
Rapptz
cb587f67ba Version bump to v2.0.1 2022-08-27 19:47:48 -04:00
chawkk6404
e62473a1b4
Fix incorrect docs in select menu min_values 2022-08-27 03:09:03 -04:00
Rapptz
7c1dffbf9d Use importlib.metadata instead of pkg_resources 2022-08-26 12:00:46 -04:00
Rapptz
b92fd65707 Document app_commands.Choice limits 2022-08-26 11:59:12 -04:00
Bryan Forbes
b12b4b18fd
Mark public callbacks as positional-only 2022-08-22 15:21:19 -04:00
Josh
01bb7ecb79
[commands] Add support for types.Union to Greedy 2022-08-21 18:26:32 -04:00
Puncher
354d4bace4
Add missing decorator signs for interaction documentation 2022-08-21 18:25:31 -04:00
Rapptz
5fe54b3ae6 Remove __slots__ from abc protocols
Fix #8354
2022-08-19 19:10:19 -04:00
Bobby-McBobface
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
Rapptz
59677c6738 Fix CommandTree.on_error not triggering if interaction_check raises 2022-08-18 21:10:10 -04:00
Rapptz
6327402730 Update View timeout only if interaction_check passes 2022-08-18 18:55:50 -04:00
Rapptz
5c7f6dd37e Clarify when None is returned from Member.edit 2022-08-18 09:52:28 -04:00