Commit Graph

4616 Commits

Author SHA1 Message Date
a592361f29 [Crowdin] Updated translation files 2022-10-03 20:08:01 -04:00
d2c6a32543 Type hint support for slices and __index__ in SequenceProxy 2022-10-03 07:27:38 -04:00
c6decedf7b Add ForumChannel to Webhook's documentation 2022-10-03 07:27:09 -04:00
95b6bd8782 Add coro tag to docstrings that were missing it 2022-10-02 17:52:18 -04:00
dc34a8f1dc Add repr to the SequenceProxy 2022-10-02 17:51:19 -04:00
c30a2f3ca0 Refactor certain f-strings and literals 2022-10-02 17:50:56 -04:00
e3b5fbd9e6 Update Transformer.choices docs to mention limit
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2022-10-01 03:18:26 -04:00
7c218b3833 Fix migration guide docs for abc.PrivateChannel and cooldown()
* Move PrivateChannel ABC change to proper subsection in migration guide
* Add change to the accepted callables in cooldown() to migration guide
2022-10-01 03:16:01 -04:00
6725f329b2 Set thread related perms in private channels to False 2022-10-01 03:14:03 -04:00
217662ca44 Fix detection of overridden binding error handler
Closes #8963
2022-09-27 23:50:06 -04:00
7b595fb052 Fix docstring for create_invite 2022-09-26 02:14:31 -04:00
a705546f0c Update Thread.message_count documentation
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2022-09-26 02:12:41 -04:00
cd04f6ca41 Revert Group.on_error copy due to failing tests 2022-09-24 01:43:28 -04:00
6e5392c6e2 Fix Tree.on_error still being called when a bound error handler is set
Closes #8455
2022-09-24 01:22:03 -04:00
6bec7e9d97 Fix detection of overriden Group.on_error and ensure they're copied 2022-09-24 01:18:52 -04:00
03d7a9a719 Fix typo in app_commands.ContextMenu docstring 2022-09-23 05:01:02 -04:00
c35ff4cfc6 [commands] Allow Greedy to potentially maintain state between calls 2022-09-20 23:53:48 -04:00
686071814b Add Forum.archived_threads 2022-09-18 19:22:21 -04:00
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
46d194df57 Fix passing None to ForumTag.emoji constructor 2022-09-17 14:12:34 -04:00
e1961676a9 Fix import to appease mypy's import resolution 2022-09-17 14:11:50 -04:00
ce06beeb6c Fix permissions-based docstrings to be more consistent 2022-09-17 14:07:39 -04:00
a53b609e37 Fix ForumChannel annotation not working for app_commands
Closes #8472
2022-09-17 00:12:06 -04:00
b5dc9e54a0 Change VoiceProtocol user callbacks to be pos-only 2022-09-15 19:30:43 -04:00
c854ee2978 Fix default_thread_slowmode_delay 2022-09-15 19:29:21 -04:00
edfacb36cf [commands] Fix HybridCommandGroup._update_copy to update fallback
Fix #8461
2022-09-12 15:31:08 -04:00
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
9398971705 [Crowdin] Updated translation files 2022-09-12 15:24:00 -04:00
9971c2e09a [commands] Add __repr__ to Range 2022-09-08 02:06:36 -04:00
75fd49e6a1 [commands] fix Range to allow 3.10 Union syntax 2022-09-08 02:04:07 -04:00
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
1c163b66cd Fix stage_instances and guild_schedule_events clearing on GUILD_UPDATE 2022-09-06 17:45:01 -04:00
771476a8d8 Fix _errors key being visible in CommandSyncError in some cases 2022-09-06 02:56:48 -04:00
5cc6af5917 Fix CommandSyncFailure raising for other 400 error types 2022-09-06 02:56:48 -04:00
e8f6b29a2d Update flags and applied tags on thread update 2022-09-04 10:42:19 -04:00
9ed5fbecea [commands] Add support for NumPy style docstrings for commands 2022-09-04 00:34:17 -04:00
27b19ed582 Change error message for unbound callbacks in ContextMenu 2022-09-04 00:34:17 -04:00
e04af033c0 Add applied_tags to ForumChannel.create_thread to match Thread.edit 2022-09-03 12:01:41 -04:00
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
df21c26195 Add support for toggling discoverable and invites_disabled features 2022-09-03 11:51:21 -04:00
fdebe069a6 Change ForumTag.emoji to be optional 2022-09-03 00:23:07 -04:00
aa0acf1d56 Add more options to Guild.create_forum 2022-09-01 05:10:41 -04:00
40b91f0e2a Remove TextChannel.default_thread_slowmode_delay
This doesn't have meaning on text channels apparently
2022-09-01 04:52:44 -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
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
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