Commit Graph
871 Commits
Author SHA1 Message Date
z03handGitHub 3b5cd3b92c Fix audit log for multiple app command permission updates 2022-06-29 22:20:23 -04:00
OmkaarandGitHub 77a7b17265 Fix tiny errors 2022-06-29 21:50:52 -04:00
ChrisJLandGitHub 824bbce95b Add documetation for auto_moderation_action MessageType enum 2022-06-28 08:44:19 -04:00
github-actions[bot]andGitHub 38ab4b0810 [Crowdin] Updated translation files 2022-06-27 22:35:03 -04:00
Alex NørgaardandGitHub 5426d19dc7 Implement AutoMod 2022-06-27 00:47:52 -04:00
mniipandGitHub 1be36c9c3e Change View, Modal, and AudioPlayer to use logger instead of stderr 2022-06-22 02:10:02 -04:00
willandGitHub d0a52f4276 Fix typo and capitalizations in docs 2022-06-19 23:02:53 -04:00
KellennandDanny 123da00ad0 Fix AttributeError in logging example 2022-06-17 23:18:16 -04:00
willandGitHub 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
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 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
Enes KurbetoğluandGitHub be6db20255 Add on_raw_thread_member_remove event 2022-06-09 01:58:50 -04:00
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
SoheabandGitHub 3aa55ba1ed Implement Application Command Permissions models 2022-06-07 01:35:33 -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
Enes KurbetoğluandGitHub 06c1f44d74 Add on_raw_thread_update event 2022-06-03 04:49:32 -04:00
AndyandGitHub 6a4d5eef52 Fix documentation errors in discord.Invite and on_integration_update 2022-06-01 02:36:51 -04:00
github-actions[bot]andGitHub 7857a84598 [Crowdin] Updated translation files
Crowdin translations download
2022-05-30 15:27:23 -04:00
TwentysixandGitHub cdfccfbe74 Fix description of user parameter in reaction remove event 2022-05-28 23:47:37 -04:00
github-actions[bot]andGitHub dc8aef7e6a [Crowdin] Updated translation files 2022-05-27 05:46:45 -04:00
Rapptz 74f3496a74 Add a bandaid fix for Sphinx bug involving admonitions in .pot files
Ref: https://github.com/sphinx-doc/sphinx/issues/10334
2022-05-27 04:30:38 -04:00
Rapptz cf031f71b9 Add a new extlink for discord documentation 2022-05-27 04:05:01 -04:00
Rapptz af311bff09 Change .pot files to only contain at most 5 context lines
Crowdin did not like having many comments which caused the upload to
fail.
2022-05-24 10:45:28 -04:00
Jakub KuczysandGitHub 2ef7ae0778 Update intersphinx url for request library 2022-05-23 21:51:36 -04:00
Nadir ChowdhuryandGitHub e2d0193531 Implement WelcomeScreen 2022-05-21 21:26:06 -04:00
Rapptz e813e5efe7 Remove undocumented methods from function signature changes 2022-05-20 16:52:55 -04:00
Rapptz 544bb1e237 Fix typo in FlagConverter example 2022-05-16 17:05:21 -04:00
LightSageandGitHub 9d17c3acde Fix scope typo in FAQ 2022-05-16 15:34:48 -04:00
z03handGitHub 9450a8e972 [commands] Change FlagConverter to always raise BadFlagArgument 2022-05-16 15:31:18 -04:00
Rapptz 63e50bc369 Don't hotlink typing.List, typing.Dict, or typing.Tuple 2022-05-11 03:54:25 -04:00
Rapptz cc3e714338 Fix typo in documentation and mention name kwarg interaction 2022-05-11 03:20:57 -04:00
Rapptz 15ceca1e63 [commands] Add support for FlagConverter in hybrid commands
This works by unpacking and repacking the flag arguments in a flag.
If an unsupported type annotation is found then it will error at
definition time.
2022-05-11 03:15:57 -04:00
Rapptz d319539edb [commands] Fix broken examples in commands.param documentation 2022-05-09 18:15:31 -04:00
I. AhmadandGitHub 96bada03f4 Add support for application tags and install params 2022-05-08 02:16:16 -04:00
Rapptz fbd57ffa58 Add FAQ entry for disabling all items in a View on timeout 2022-05-05 08:52:24 -04:00
Rapptz 2bfbd1a979 Prefer code-block directive over :: in faq.rst 2022-05-05 08:52:24 -04:00
z03handGitHub bd727d2b0c Add edit and delete methods to AppCommand 2022-05-05 06:20:55 -04:00
Rapptz 9793fba338 [commands] Add support for discord.Attachment converters 2022-05-05 01:54:59 -04:00
xCirnoandGitHub e9c7c09ebf Add guild avatar to on_member_update docs 2022-05-03 09:44:12 -04:00
NextChaiandGitHub 300fb0411e Replace trigger_typing with awaiting typing context manager 2022-05-02 04:36:18 -04:00
z03handGitHub 619bc50e5d Add application command permissions to audit log 2022-05-01 18:59:57 -04:00
Rapptz f4c5d37c8f [commands] Rework Cog + Group inheritance to requite GroupCog
This is an attempt to fix the MRO issues present in the current
implementation. The previous implementation of using both Cog and
app_commands.Group in the inheritance chain caused issues with things
such as walk_commands due to it potentially shadowing the app_commands
version of the call.

In this particular case it's better to use composition instead of
inheritance to avoid these bugs entirely. Especially as more things are
added that could conflict with each other.
2022-05-01 14:01:21 -04:00
MikeyandGitHub 165e14063f [commands] fix BucketType.default bypassing dynamic_cooldown 2022-04-30 18:46:37 -04:00
20a7961e19 Rename use_slash_commands to use_application_commands
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
2022-04-30 06:53:29 -04:00
gx1285andGitHub 141c31e50f Update images used in discord.rst, etc 2022-04-30 06:13:14 -04:00