Commit Graph
898 Commits
Author SHA1 Message Date
Rapptz 3aa3c36c4f Marginally speed up CI doc builds by using multiple jobs 2022-08-16 18:57:03 -04:00
z03handGitHub 1097e1d975 Add mention_spam automod trigger and change default values 2022-08-16 16:58:59 -04:00
github-actions[bot]andGitHub 490974a620 [Crowdin] Updated translation files 2022-08-15 14:11:17 -04:00
Rapptz 596f2ca222 Fix time_snowflake not being documented 2022-08-15 14:01:54 -04:00
Rapptz 5b56899676 Change snowflake_time and time_snowflake parameters to pos/kw-only 2022-08-15 13:39:03 -04:00
Rapptz 0ec06f0ac5 Add on_app_command_completion event
Fix #8126
2022-08-15 09:19:01 -04:00
I. AhmadandGitHub 183ec1ab28 Fix typo in hybrid commands documentation 2022-08-15 08:18:32 -04:00
Rapptz 1fa7d7e402 Raise special CommandSyncFailure during sync for better errors
This is parsed from the error to allow for users to better debug
what exactly is causing the issue in sync.
2022-08-12 22:36:13 -04:00
PuncherandGitHub e269904b26 Add :decorator: to ui.button and ui.select 2022-08-11 18:25:32 -04:00
Rapptz c32567ea81 Refactor TranslationContext to be more useful
The previous enum was good at accomplishing dynamic key generation for
a few cases, but it fell short in others:

1. It could not discern group names and command names
2. It could not give you more contextual data such as the full object
   currently being translated.

On top of that, the context being a required parameter for
Translator.translate meant that it wouldn't be possible to re-use the
translator for other use cases outside of the rigid ones defined in the
library.

To alleviate these concerns, new enum attributes were added along with
a richer type for obtaining even more context.
2022-08-09 10:41:45 -04:00
Rapptz 57efb5a5a0 Fix failing tests to use new get_parameter function 2022-08-09 08:02:41 -04:00
Rapptz 1727eca106 Add app_commands.Parameter for parameter introspection 2022-08-09 07:43:40 -04:00
github-actions[bot]andGitHub e16c0b02ac [Crowdin] Updated translation files 2022-08-08 19:59:11 -04:00
Rapptz 7e3b08871b Fix documentation build failure from previous rename 2022-08-08 08:30:54 -04:00
Rapptz 6381b5a8f4 Change abc.GuildChannel.overwrites to have Object keys if cache failed
Ultimately despite it not being the prettiest, Object keys ended up
being the sanest solution to this without destroying ergonomics.
2022-08-06 14:46:52 -04:00
Rapptz 1a361f4519 Document Text in Voice in the migrating documentation
Closes #8179 #8064
2022-08-06 14:24:15 -04:00
Rapptz 2d586ae805 Add initial support for app command localisation 2022-08-05 22:35:30 -04:00
github-actions[bot]andGitHub d4cc8d3006 [Crowdin] Updated translation files 2022-08-01 20:06:35 -04:00
MiddledotandGitHub 7d11e2a27c Remove documentation for on_group_join/leave 2022-07-30 22:39:30 -04:00
VioshimandGitHub b80cb47caf Implement Embed.__eq__ and EmbedProxy.__eq__ 2022-07-27 00:28:10 -04:00
I. AhmadandGitHub a5410e6135 Add documentation for hybrid commands 2022-07-25 21:19:42 -04:00
Rapptz 87bc79e6e3 Change certain sequences to use a special proxy type instead of list
This is to speed up cases where someone is just querying the length
of the underlying sequence. If anything else is done to the sequence
then it is copied from the original iterator.

This change should be mostly transparent.
2022-07-19 01:58:58 -04:00
Rapptz 76402b00f9 Allow configuring the maximum ratelimit timeout before erroring
This is useful for cases where a rate limit is known to be
extraordinarily high, but you still want to handle the error.
This is common with routes such as emoji creation.
2022-07-19 01:36:18 -04:00
github-actions[bot]andGitHub c7e589033d [Crowdin] Updated translation files 2022-07-15 00:16:01 -04:00
z03handGitHub 1aaa32d4bc Add on_raw_app_command_permissions_update event 2022-07-10 04:00:26 -04:00
z03handGitHub 04aeff660b Add automod types to audit log 2022-07-07 19:30:03 -04:00
github-actions[bot]andGitHub 37c7c8fb34 [Crowdin] Updated translation files 2022-07-04 21:45:35 -04:00
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