Commit Graph

4748 Commits

Author SHA1 Message Date
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
64744a4938 [commands] Add missing attributetable to classes 2022-08-30 00:50:59 -04:00
ee59d9651a Add missing attributetable to classes 2022-08-30 00:50:40 -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
3588793965 Fix utils.time_snowflake link in migrating.rst 2022-08-28 02:07:18 -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 v2.0.1 2022-08-27 19:47:48 -04:00
58193d18c5 Add changelogs for v2.0.1 2022-08-27 19:47:06 -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
9237106ee3 Add v2 changelog entry to point to migrating page 2022-08-23 02:34:24 -04:00
f5e3074886 Update version guarantees 2022-08-22 15:23:23 -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