Red-GitHubBot
09adae5213
[3.4] [Config] Add type-hints to _ValueContextManager methods ( #5344 ) ( #5486 )
...
Without these type-hints, I've found that PyCharm misidentifies the returned type, causing a number of false positives in static type checking.
(cherry picked from commit e878483318 )
Co-authored-by: Toby Harradine <Tobotimus@users.noreply.github.com >
Co-authored-by: Toby Harradine <Tobotimus@users.noreply.github.com >
2021-12-25 02:21:45 +00:00
Red-GitHubBot
f59b7fce37
[3.4] Update host list with new locations for Hetzner and Contabo ( #5475 ) ( #5485 )
...
(cherry picked from commit 551e6d9f55 )
Co-authored-by: MAX <63972751+ltzmax@users.noreply.github.com >
Co-authored-by: MAX <63972751+ltzmax@users.noreply.github.com >
2021-12-25 02:13:54 +00:00
Red-GitHubBot
ee513731be
[3.4] Fix issues with loading config.json when it doesn't exist ( #5416 ) ( #5484 )
...
* catch and handle FileNotFoundError when using --no-instance when config.json does not already exist
* move load_existing_config to data_manager.py
* use load_existing_config in create_temp_config
* Fix import in redbot-launcher
(cherry picked from commit cef55459c6 )
Co-authored-by: Vexed <vex@vexcodes.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: Vexed <vex@vexcodes.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-12-25 02:04:41 +00:00
Red-GitHubBot
5dd0c3b579
[3.4] Add necessary None checks to Core's usage of Requires.privilege_level ( #5477 ) ( #5483 )
...
* Check if it has a privilege level
* Let's fix this in warnings too
(cherry picked from commit 5e527cb27d )
Co-authored-by: aleclol <50505980+aleclol@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: aleclol <50505980+aleclol@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-12-25 01:06:08 +00:00
jack1142
4afa4f77e0
[3.4] [Docs] Correct set api examples to be consistent for Spotify ( #5444 ) ( #5482 )
...
* consistant usage
* switch audiodb to youtube
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >.
(cherry picked from commit bae85c35c1 )
Co-authored-by: Ryan <yamikaitou@gmail.com >
Co-authored-by: Ryan <yamikaitou@gmail.com >
2021-12-25 00:21:25 +00:00
Red-GitHubBot
8c2d589c17
[3.4] Remove voice region field in [p]serverinfo ( #5449 ) ( #5481 )
...
* [General] Remove guild region on serverinfo
* Remove in string too.
(cherry picked from commit 4e469ce15e )
Co-authored-by: PredaaA <46051820+PredaaA@users.noreply.github.com >
Co-authored-by: PredaaA <46051820+PredaaA@users.noreply.github.com >
2021-12-25 00:05:23 +00:00
Red-GitHubBot
c7a4a0feaf
[3.4] Restrict [p]cleanupset notify to guild only ( #5466 ) ( #5480 )
...
(cherry picked from commit e068294cc8 )
Co-authored-by: Kreus Amredes <67752638+Kreusada@users.noreply.github.com >
Co-authored-by: Kreus Amredes <67752638+Kreusada@users.noreply.github.com >
2021-12-24 23:56:46 +00:00
Red-GitHubBot
cb5eafb9e3
[3.4] Add plural forms to the responses of [p]leave command ( #5391 ) ( #5479 )
...
* Improve the response of `[p]leave` command
* Update core_commands.py
* Update core_commands.py
* style?
* fix maybe
* black
* fixed typo in docstring
* aaa
* style
* Few more changes
(cherry picked from commit 2c51182e8e )
Co-authored-by: krak3n <84792368+the-krak3n@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: krak3n <84792368+the-krak3n@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-12-24 23:52:46 +00:00
Red-GitHubBot
de3ec3f26a
[3.4] [Mod] Typo in unban command ( #5470 ) ( #5478 )
...
(cherry picked from commit 442cad7917 )
Co-authored-by: sravan <miniclip1956@gmail.com >
Co-authored-by: sravan <miniclip1956@gmail.com >
2021-12-23 01:53:31 +00:00
Red-GitHubBot
5987f9aabc
[3.4] Address common issues with load path configuration in docs ( #5356 ) ( #5436 )
...
* Add instructions on how to add pyenv to load path
* Support zsh in pyenv load path instructions
* Make instructions for Mac work when shell-specific profile file exists
* Includes are weird...
* .
* Fix my misunderstanding of what files zsh sources
* Operator precedence, or something like that
(cherry picked from commit 78c92cc766 )
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-11-02 20:42:05 +01:00
Red-GitHubBot
ea6eeedadf
[3.4] Try to fix base branch in Publish Release workflow *again* ( #5340 ) ( #5434 )
...
(cherry picked from commit f071ec09e2 )
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-11-02 12:03:53 +00:00
Red-GitHubBot
9f359dda26
[3.4] Modernize syntax in chat formatting module and add success() ( #5427 ) ( #5428 )
...
* Downloader's plurial & Fix
* Don't forget pipinstall
* Fix syntax issue
* This f****** fix that took me too much of my time for nothing.
* Black
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Fix Jack's syntax, remove numbers & fix bad calculated cogs
* Black ofc
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/cogs/downloader/downloader.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Address my review comment
* Simplify
* this is kinda a lot but shh
* Change format to f-string
* Add success function to char_formatting
* Revert "Merge branch 'V3/develop' of github.com:Predeactor/Red-DiscordBot into master/chat-formatting-enhancement"
This reverts commit c338da7b66 , reversing
changes made to f2422ad782 .
* For once I would have appreciated if style checks were failing...
(cherry picked from commit 483ef36d1b )
Co-authored-by: Predeactor <61093863+Predeactor@users.noreply.github.com >
Co-authored-by: Predeactor <ubuntu@vps-35e65bf5.vps.ovh.net >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: Predeactor <61093863+Predeactor@users.noreply.github.com >
Co-authored-by: Predeactor <ubuntu@vps-35e65bf5.vps.ovh.net >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-10-27 14:36:25 +02:00
Red-GitHubBot
1040883913
[3.4] Fix CodeQL workflow ( #5412 ) ( #5414 )
...
The new pip 21.3 (released 2021-10-11) uses in-tree builds when `pip install .` is used (see [release notes](https://pip.pypa.io/en/stable/news/#v21-3 ) and [implementation PR](https://github.com/pypa/pip/pull/10495 )). This means CodeQL will see all files twice (once in the real location that is part of this repository, and one in the copy in the `build/` dir), which trips up the analysis.
When an editable install is used instead with `pip install -e .`, there is no `build/` dir, so the analysis will work again.
(cherry picked from commit 42293afd43 )
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com >
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com >
2021-10-20 14:53:53 +00:00
Red-GitHubBot
7268a8e774
[3.4] [Docs] Removes LXC as an unsupported hosting platform ( #5351 ) ( #5411 )
...
(cherry picked from commit a70f0b7872 )
Co-authored-by: Crossedfall <ping@crossedfall.io >
Co-authored-by: Crossedfall <ping@crossedfall.io >
2021-10-20 10:12:49 +00:00
Red-GitHubBot
86edf0de53
[3.4] Update JDK URL and add Python version upper-bound in Windows guide ( #5403 ) ( #5410 )
...
* Update Java URL
* Update choco package as well
* Use Windows-specific URL for Python downloads
(cherry picked from commit 4348318fd1 )
Co-authored-by: Ryan <git@yamikaitou.dev >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: Ryan <git@yamikaitou.dev >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-10-20 09:43:18 +00:00
Red-GitHubBot
59c92041fc
[3.4] [Admin] Add [p]selfroleset clear command ( #5387 ) ( #5409 )
...
(cherry picked from commit b64ece3ee9 )
Co-authored-by: Kreus Amredes <67752638+Kreusada@users.noreply.github.com >
Co-authored-by: Kreus Amredes <67752638+Kreusada@users.noreply.github.com >
2021-10-19 12:28:10 +02:00
Red-GitHubBot
3cf0d5ebe9
[3.4] [Mutes] Fix vars not getting formatted due to previous PR ( #5404 ) ( #5405 )
...
* Fix vars not getting formatted due to #5364
* Only format a second time if needed
* Format only on string literals
(cherry picked from commit d56f31a708 )
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com >
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com >
2021-10-17 02:58:40 +02:00
Red-GitHubBot
65344378f6
[3.4] Update the timestamping we forgot to Discord compatible timestamping ( #5395 ) ( #5401 )
...
(cherry picked from commit 67bcd72d9c )
Co-authored-by: Kowlin <Kowlin@users.noreply.github.com >
Co-authored-by: Kowlin <Kowlin@users.noreply.github.com >
2021-10-16 19:40:14 +00:00
Red-GitHubBot
bd010fdae5
[3.4] [Downloader] Show repo name in findcog ( #5383 ) ( #5400 )
...
* show repo name in findcog
* how did i manage to overcomplicate this?
* for Kreusada
* I wanted to do that... but forgot
(cherry picked from commit 1d34e9e47b )
Co-authored-by: Dav <dav@mail.stopdavabuse.de >
Co-authored-by: Dav <dav@mail.stopdavabuse.de >
2021-10-16 00:12:37 +00:00
Red-GitHubBot
33ed1085ab
[3.4] Fix descriptions for examples of ID-based command invocations in Mod ( #5372 ) ( #5399 )
...
* Fix wording in redbot/cogs/mod/kickban.py to match with the command example
* Made changes as requested in PR Review #770078179
* Added changes to docs/cog_guides/mod.rst as requested in PR Review #70784066
* Fixed kick wording
* Fix kick wording
(cherry picked from commit 9aee8ce28f )
Co-authored-by: WreckRox <24494367+WreckRox@users.noreply.github.com >
Co-authored-by: WreckRox <24494367+WreckRox@users.noreply.github.com >
2021-10-15 23:30:44 +00:00
Red-GitHubBot
41fa3f0310
[3.4] [Mod] Indicate successful run in [p]voicekick ( #5367 ) ( #5398 )
...
(cherry picked from commit 17dc9e0c47 )
Co-authored-by: krak3n <84792368+the-krak3n@users.noreply.github.com >
Co-authored-by: krak3n <84792368+the-krak3n@users.noreply.github.com >
2021-10-15 22:52:21 +00:00
Red-GitHubBot
542a7b3cb2
[3.4] Add a tick on traceback command when it's sent to DMs ( #5353 ) ( #5397 )
...
* add a `tick` when sent to dm.
* confused ™️
* did i learn now? :P
* i'm not confused anymore :3
(cherry picked from commit b8535ee53e )
Co-authored-by: MAX <63972751+maxbooiii@users.noreply.github.com >
Co-authored-by: MAX <63972751+maxbooiii@users.noreply.github.com >
2021-10-15 22:48:49 +00:00
Red-GitHubBot
b8cf464355
[3.4] Do not include expected wait_for responses in translated strings ( #5364 ) ( #5396 )
...
* Do not include 'I agree' prompt in translation string
* Add more stuff
* Address review comment
* Address review comments
(cherry picked from commit 4b70acb989 )
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-10-15 22:04:21 +00:00
Red-GitHubBot
4dc509c18f
[3.4] Add optional message to send when bot can't react in ctx.tick() and ctx.react_quietly() ( #4092 ) ( #5392 )
...
* Update context.py
* Pre-emptive check to avoid hitting the API
(cherry picked from commit 334cd4fa2a )
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-10-15 16:46:05 +00:00
Red-GitHubBot
cda70a0c6a
[3.4] Improve helpset showaliases docstring ( #5376 ) ( #5377 )
...
(cherry picked from commit a8f35f762c )
Co-authored-by: Kreus Amredes <67752638+Kreusada@users.noreply.github.com >
Co-authored-by: Kreus Amredes <67752638+Kreusada@users.noreply.github.com >
2021-10-07 19:48:47 +00:00
Red-GitHubBot
9ca977ba81
[3.4] [Audio] Remove extra whitespace ( #5366 ) ( #5370 )
...
(cherry picked from commit 6eb922e7d9 )
Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com >
Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com >
2021-10-03 19:12:11 +00:00
Red-GitHubBot
4331004dc1
[3.4] fix possible issue when joined_at is None ( #5361 ) ( #5365 )
...
(cherry picked from commit b4037a80d8 )
Co-authored-by: Fixator10 <github@fixator10.ru >
Co-authored-by: Fixator10 <github@fixator10.ru >
2021-10-02 17:13:25 +00:00
Red-GitHubBot
042731a7ed
[3.4] Initialize driver before starting the backup ( #5315 ) ( #5342 )
...
(cherry picked from commit cb18a66336 )
Co-authored-by: El Laggron <laggron42@gmail.com >
Co-authored-by: El Laggron <laggron42@gmail.com >
2021-09-23 20:41:16 +00:00
jack1142
bf5e2a4424
[3.4] Version bump to 3.4.15.dev1 ( #5341 )
2021-09-23 20:37:51 +00:00
github-actions[bot]
029a7fffcb
[3.4] Version bump to 3.4.14 ( #5338 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3.4.14
2021-09-23 21:24:19 +02:00
github-actions[bot]
0096f874a4
[3.4] [i18n] Automated Crowdin downstream ( #5339 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-23 21:24:11 +02:00
Red-GitHubBot
07e7594308
[3.4] Red 3.4.14 - Changelog ( #5335 ) ( #5337 )
...
* Red 3.4.14 - Changelog
* Add contributor list
* proofreading 1
* Fix plural form
(cherry picked from commit cddd99eba7 )
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-09-23 19:10:37 +00:00
Red-GitHubBot
6a4a0b4bb3
[3.4] Update some link texts in docs for accessibility ( #5310 ) ( #5336 )
...
* Update some link texts for accessibility
* Fix stuff nearby while we're here
* Reword links to DigitalOcean
* Use better link text for `[p]triviaset custom`
(cherry picked from commit 92cabd134d )
Co-authored-by: River <18037011+RheingoldRiver@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: River <18037011+RheingoldRiver@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-09-23 18:43:48 +00:00
Red-GitHubBot
dca082f20e
[3.4] Maybe fix the base branch used in dev bump automation ( #5307 ) ( #5334 )
...
(cherry picked from commit 2c8c97490b )
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-09-23 15:58:10 +00:00
Red-GitHubBot
dfe03b9cad
[3.4] Only initialize and teardown driver if actually needed ( #5313 ) ( #5333 )
...
* Fix #5312
* Update setup.py
* put db actions under one if statement
* check backend type and improve displayed message
* accept format fix
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* fix whitespace
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* separate datapath delete from data delete
* Fix indentation
* Call `driver_cls.initialize()` outside try-finally
* Backup requires db server to run too + some simplifications
(cherry picked from commit 2ce8e65527 )
Co-authored-by: Leet <36166244+L33Tech@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: Leet <36166244+L33Tech@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-09-23 15:36:39 +00:00
Red-GitHubBot
3865449d3b
[3.4] Use discord native timestamp in [p]uptime ( #5323 ) ( #5332 )
...
* support for discord's timestamp on uptime
* woops not supposed to remove `_`.
* ups
* ups x2
* Apply suggested change.
* hehe
(cherry picked from commit d69326b1fe )
Co-authored-by: MAX <63972751+maxbooiii@users.noreply.github.com >
Co-authored-by: MAX <63972751+maxbooiii@users.noreply.github.com >
2021-09-23 14:29:01 +00:00
Red-GitHubBot
39169703a7
[3.4] Split documents per OS, fix few things, drop and add few OSes ( #5328 ) ( #5331 )
...
* Exclude include files from being built
* Split install guides into multiple documents (one per OS/version combo)
* Update references
* Unify anchor names
* Update pyenv requirements in CentOS 7 guide
* Update install guides for RHEL derivatives to not use pyenv
* Add guide for Rocky Linux 8
* 8.4+ -> 8.4-8.x
* Add 'the'
(cherry picked from commit cbbb9d9b9b )
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-09-23 03:28:59 +00:00
Red-GitHubBot
55d748147d
[3.4] [Audio] Update Lavalink.jar build ( #5329 ) ( #5330 )
...
(cherry picked from commit b2e9b38a03 )
Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com >
Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com >
2021-09-23 02:35:43 +02:00
Red-GitHubBot
7bf8bd5a93
[3.4] Fix Case's modified_at attr and its format in message content ( #5317 ) ( #5319 )
...
* Fix modified_at field to properly format.
* let's just fix the type hints
(cherry picked from commit 89e3a78ead )
Co-authored-by: Kowlin <Kowlin@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: Kowlin <Kowlin@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-09-14 00:44:10 +00:00
jack1142
931eb312b2
[3.4] Version bump to 3.4.14.dev1 ( #5308 )
2021-09-10 01:10:38 +02:00
github-actions[bot]
1eaa51e013
[3.4] Version bump to 3.4.13 ( #5304 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3.4.13
2021-09-09 23:58:22 +02:00
github-actions[bot]
539e0b2c14
[3.4] [i18n] Automated Crowdin downstream ( #5305 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-09 21:57:53 +00:00
Red-GitHubBot
addc633425
[3.4] Red 3.4.13 - Changelog ( #5302 ) ( #5303 )
...
* Add 3.4.13 section
* PR 5156 (issue 4997)
* PR 5178 (issue 5177)
* PR 5185, 5187
* PR 5184
* PR 5186
* PR 5165
* PR 5188
* PR 5225
* PR 5180
* PR 5181 (issue 4868)
* PR 5221 (issue 5216)
* PR 4659 (issue 4571)
* PR 5173
* PR 5155, 5241
* PR 5199
* PR 5205 (issue 4074)
* PR 5238 (issue 5237)
* PR 5169
* PR 5214
* PR 4981 (issue 4841)
* PR 4837 (issue 4836)
* PR 5218 (issue 4732)
* PR 5233
* PR 5211 (issue 5187)
* PR 5108
* PR 5223 (issue 5195)
* PR 5234
* PR 5243 (issue 4717)
* PR 5000 (issue 4140)
* PR 5206 (issue 5171)
* PR 5121 (issue 4655)
* PR 5217 (issue 5213)
* PR 5037
* PR 5109, 5163, 5172, 5191
* PR 4968
* PR 5048, 5092, 5149, 5207, 5209, 5215, 5219, 5220
* Fill 'Read before updating' section
* Add contributor list
* few fixes
* Apply suggestions from code review
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com >
(cherry picked from commit eeed082542 )
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com >
2021-09-09 21:50:38 +00:00
Red-GitHubBot
00adb15be0
[3.4] Add RelativedeltaConverter and parse_relativedelta ( #5000 ) ( #5300 )
...
* Added years and months to parse_timedelta
* Added new parse_datetimedelta along with classes for relative dates
* Switched datetime as dt to just datetime for clarity
* Changed to returning relativedelta instead of datetime
* Fixed single char typo
* After some digging, removed min and max from relative delta b/c of https://github.com/dateutil/dateutil/issues/350
* Add dateutil to intersphinx mapping
* Change uppercase D in RelativeDeltaConverter to a lowercase D
* Fix cross-references in docstrings
* Add new class and methods to __all__
* Remove get_relativedelta_converter()
* style
* Fix name of parse_relativedelta test
* more style
* Re-export new class and function in `redbot.core.commands`
(cherry picked from commit ed9bb77eec )
Co-authored-by: Zoë F <zoe@dataleek.io >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: Zoë F <zoe@dataleek.io >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-09-08 23:04:05 +02:00
Red-GitHubBot
ad5a5017b6
[3.4] Add CommandConverter and CogConverter + add usage in Core ( #5037 ) ( #5299 )
...
* add commands, cog converter
* properly use type_checking
* make core commands use command converter
* update commands to use cogconverter
* fix undefined variable name, style
* Update redbot/core/commands/converter.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/core/commands/converter.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/core/core_commands.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/core/core_commands.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/core/core_commands.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/core/core_commands.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* Update redbot/core/core_commands.py
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
* update cog argument names
* update documentation arg names
* update more docs
* This new Sphinx is annoying about this...
* I'm questioning my skills
* Fix name error in `[p]embedset showsettings` when command is not given
* Do not use the new cog converter in `[p]command enablecog`
This is needed so that a cog that isn't loaded but was disabled
can be enabled back.
(cherry picked from commit e5b236fb1c )
Co-authored-by: PhenoM4n4n <61065078+phenom4n4n@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: PhenoM4n4n <61065078+phenom4n4n@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-09-08 22:56:20 +02:00
Red-GitHubBot
9482f0c60c
[3.4] [Docs] Update Cleanup docs with new cleanupset command group ( #5245 ) ( #5298 )
...
* Add cleanupset commands to cleanup docs
* fix spacing
* shown -> sent
* update command docstring
* Fix trailing whitespace and use same style for docs
(cherry picked from commit 63fd7cc95f )
Co-authored-by: Kreus Amredes <67752638+Kreusada@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: Kreus Amredes <67752638+Kreusada@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-09-08 22:52:14 +02:00
Red-GitHubBot
0b8747c49b
[3.4] Add Debian 11 to install guide and clarify "Buster" as Debian 10 ( #5217 ) ( #5297 )
...
* Clarify Debian 10 as "Buster"
* Add Debian 11 Install
* This typo would of bugged my OCD...
* Clarify Debian 10 as "Buster"
* Add Debian 11 Install
* This typo would of bugged my OCD...
* Add apt upgrade line to doc
* Removing dupe for Debian 11
I'm not sure how that happened, but oh well...
(cherry picked from commit 33dddaf5b4 )
Co-authored-by: Ryan <twinshadow@shadowhime.net >
Co-authored-by: Ryan <twinshadow@shadowhime.net >
2021-09-08 22:49:56 +02:00
Red-GitHubBot
3c34af5e82
[3.4] Update deps, allow Python 3.9, drop Fedora 32 ( #5121 ) ( #5296 )
...
* Update deps + allow Python 3.9
* Add in updates from Jack's branch
* Fix multiple target for cross-reference warnings
* Update a few more Python 3.8 occurrences
* Bump further
* Don't install tox in CodeQL environment
* Bump Python version in docs to 3.9.7
* more bumps
* Add missing pin
* Stop using the deprecated distro.linux_distribution()
* Suppress deprecation warning
* Fix OpenSUSE Leap instructions
* Drop Fedora 32
* Add Python 3.10-dev to CI
* meh
(cherry picked from commit 3254698c78 )
Co-authored-by: palmtree5 <3577255+palmtree5@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: palmtree5 <3577255+palmtree5@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-09-08 22:46:59 +02:00
Red-GitHubBot
c739500a13
[3.4] [Core] Add more APIs for allowlists and blocklists ( #5206 ) ( #5295 )
...
* [Core] Blacklist api
* [Core] Use to_add, remove star from other method calls
* various touch ups
* style
* fix doc style
* [Core] Remove iterable import
* [Core] Update commands to use the blacklist/whitelist api
* Change signatures to not use `*args`
* Update all usage of private cache to the new public APIs
* Update the docstrings
* Update the usage in diagnoser
(cherry picked from commit 0dded8aa47 )
Co-authored-by: Just-Jojo <62262765+Just-Jojo@users.noreply.github.com >
Co-authored-by: Kreusada <67752638+Kreusada@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: Just-Jojo <62262765+Just-Jojo@users.noreply.github.com >
Co-authored-by: Kreusada <67752638+Kreusada@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-09-08 22:43:45 +02:00
Red-GitHubBot
373c04de11
[3.4] Add [p]diagnoseissues command ( #5243 ) ( #5294 )
...
* Split `Requires._transition_state` into reusable methods for Diagnoser
* (style) Fix line length
* Add missing .format()
* Add handling for user permissions, privilege level, Permissions rules
* Add missing awaits, use correct method in user perms check, add 'the'
* Fix .format() fields
* Add comment
* Add new file to labeler's configuration
* Add the command to the documentation
* All the work from DiagnoserCog
You can find the commit history of it here:
https://github.com/jack1142/DiagnoserCog
* Fix circular import
* Make channel argument optional
* Add a tip about channels from different servers
(cherry picked from commit 86649e897f )
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com >
2021-09-08 22:40:25 +02:00