4370 Commits

Author SHA1 Message Date
GoogleGenius
868476c999
Use the latest GitHub Action versions 2022-06-20 09:22:45 -04:00
Rapptz
b8ddb17b14 Fix fallback_to_global not working with context menus
Fix #8167
2022-06-20 06:20:46 -04:00
will
d0a52f4276
Fix typo and capitalizations in docs 2022-06-19 23:02:53 -04:00
Kellenn
64849ebcc8 Remove unused import in dropdown example 2022-06-17 23:18:16 -04:00
Kellenn
123da00ad0 Fix AttributeError in logging example 2022-06-17 23:18:16 -04:00
Rapptz
922e52b6df Update IDENTIFY payload to match new format 2022-06-17 20:56:44 -04:00
Rapptz
1a90327202 Fix potential infinite loop in Reaction.users 2022-06-16 18:56:42 -04:00
Nadir Chowdhury
85495a910c
Add extra details to rate limit logs
- Include the rate limit bucket for webhooks
- Enable `stack_info` for the 429 warning.
2022-06-16 18:52:37 -04:00
Rapptz
9648986028 Reorder fruit autocomplete example to be less confusing 2022-06-14 20:40:27 -04:00
Rapptz
7e66e11640 Change Message.system_content to always return str 2022-06-14 20:38:39 -04:00
Rapptz
903e2e64e9 [tasks] Only update the time interval if the body has run once
Fix #8151
2022-06-14 07:41:36 -04:00
Sarthak Upadhyay
1ba290d8c6
Update sticker limit in _PREMIUM_GUILD_LIMITS 2022-06-14 00:37:58 -04:00
will
190eeaf19b
Fix some typos in migrating documentation 2022-06-13 21:32:52 -04:00
Rapptz
c0b4c37418 Remove extraneous assignment in logging documentation 2022-06-13 17:14:19 -04:00
Rapptz
9c9703efc4 Remove unnecessary construction of logging.Formatter in docs 2022-06-13 17:13:21 -04:00
Alex Nørgaard
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
Rapptz
96e6261d61 Change default for purge oldest_first to match history 2022-06-13 04:54:08 -04:00
Rapptz
c232631504 Refactor utils.oauth_url slightly 2022-06-13 04:49:32 -04:00
Miku Chan
40f12c8a00
Add state parameter to utils.oauth_url
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
2022-06-13 03:17:43 -04:00
Rapptz
66881ba458 Remove gateway trace information
This was unused anyway
2022-06-13 01:06:15 -04:00
Rapptz
53685b9b86 Change stderr prints to use the logging module instead 2022-06-13 01:06:15 -04:00
Rapptz
49e683541b Add default logging configuration when using Client.run
While it is possible to do this type of your set up yourself, it's
better for beginners to have logging automatically set up for them.
This has come up often in the help channel over the years. This also
provides an escape hatch to disable it.
2022-06-13 00:30:13 -04:00
Rapptz
768242b00e Fix typo in async with documentation 2022-06-12 16:49:33 -04:00
James Hilton-Balfe
5d1b63bfee
[docs] Add async with documentation for Client
Co-authored-by: Rapptz <1695103+Rapptz@users.noreply.github.com>
2022-06-12 16:06:44 -04:00
Daniel Diaz
1f053e0a32
[commands] Document argument attribute in BadInviteArgument 2022-06-12 15:36:21 -04:00
Soheab
e73a805bd7
Add missing data to Argument model 2022-06-12 15:33:08 -04:00
Josh
c9f777c873
Fix type annotations to adhere to latest pyright release 2022-06-12 15:30:45 -04:00
Rapptz
334ef1d7fa Add support for discord.abc.GuildChannel annotations in app commands 2022-06-11 20:36:15 -04:00
Rapptz
d19faa5f32 Raise an exception when wait_until_ready is called without a loop 2022-06-11 20:29:55 -04:00
Soheab
3cb90199c9
Remove private legacy cruft from AppCommand models
- Document `options` for AppCommand
- Remove `choices` and `required` from AppCommandGroup
- Rename `arguments` to `options` since it can include `AppCommand` and `AppCommandGroup`.
2022-06-11 13:46:18 -04:00
KeySpace
b0cb458f9f
Change OS X to macOS in Japanese README 2022-06-10 02:12:51 -04:00
Soheab
dd52f856f3
Use static_format over format if present in Asset.replace 2022-06-10 01:50:19 -04:00
Kile
66a97c6655
Fix typings of deaf and mute in PartialMember 2022-06-10 01:40:33 -04:00
Enes Kurbetoğlu
be6db20255
Add on_raw_thread_member_remove event 2022-06-09 01:58:50 -04:00
Alex Nørgaard
6a58cabf5c
Add Guild.create_forum and CategoryChannel.create_forum 2022-06-09 00:56:31 -04:00
will
ae51d5849a
Fix typos in AppCommandPermissions attributes doc 2022-06-07 04:23:22 -04:00
Rapptz
377dde4e4e Change app command permission models guild to not be None 2022-06-07 01:56:44 -04:00
github-actions[bot]
b6235cbd8c
[Crowdin] Updated translation files
Crowdin translations download

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-07 01:44:44 -04:00
Steve C
98ca16ef67
Tweak wording for "less than" Range error
Keeping it consistent!
2022-06-07 01:36:21 -04:00
Soheab
3aa55ba1ed
Implement Application Command Permissions models 2022-06-07 01:35:33 -04:00
Jakub Kuczys
4e7529138c
[commands] Properly use Optional's default value on parsing error 2022-06-06 20:18:25 -04:00
Rapptz
75d57ab3ce Fix warning in entity_type reassignment 2022-06-06 12:26:05 -04:00
Rapptz
3fe9fc92eb Automatically infer entity_type when passing concrete channels
This affects Guild.create_scheduled_event and ScheduledEvent.edit

Previously, you would always be required to pass it in. However, it
makes sense to not repeat yourself if you already know it's a stage
channel or a voice channel due to the type information.
2022-06-06 08:56:04 -04:00
Rapptz
9df6aa86c8 Fix state modification endpoints on ScheduledEvent not working
Closes #8114
2022-06-06 08:34:19 -04:00
Rapptz
acb0302403 Fix "to top" string not being exported in .pot files 2022-06-06 07:44:26 -04:00
Rapptz
a106201ad3 Fix certain HTML and JS strings not being exposed to .pot files 2022-06-05 11:10:53 -04:00
Rapptz
db5a22d791 Move dropdown icon to static folder
This actually makes it render in the documentation
2022-06-05 01:24:20 -04:00
Rapptz
d1039e209e Skip default parameter validation when using a transformer
Fixes #8110
2022-06-05 01:18:16 -04:00
Arjun Sharda
87edabc5b8
Fix wording in README
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
2022-06-04 20:52:12 -04:00
will
f6a74f74a7
Fix typo in CommandTree.fetch_command's NotFound doc 2022-06-04 03:25:06 -04:00