-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make use of discord.VoiceProtocol instead of socket_response #122
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Drapersniper
added a commit
to Drapersniper/Red-DiscordBot
that referenced
this pull request
Mar 21, 2022
Drapersniper
added a commit
to Drapersniper/Red-DiscordBot
that referenced
this pull request
Mar 21, 2022
Drapersniper
added a commit
to Drapersniper/Red-DiscordBot
that referenced
this pull request
Mar 22, 2022
Drapersniper
added a commit
to Drapersniper/Red-DiscordBot
that referenced
this pull request
Mar 22, 2022
Drapersniper
added a commit
to Drapersniper/Red-DiscordBot
that referenced
this pull request
Mar 22, 2022
Drapersniper
added a commit
to Drapersniper/Red-DiscordBot
that referenced
this pull request
Mar 28, 2022
Jackenmen
reviewed
Mar 29, 2022
Jackenmen
reviewed
Mar 29, 2022
Jackenmen
requested changes
Mar 29, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- some of the references to
PlayerState
should be updated to refer toPositionTime
now that it's been renamed (e.g. type hint oflavalink.lavalink._handle_update
) DiscordVoiceSocketResponses
enum is no longer used
Jackenmen
reviewed
Mar 29, 2022
* Improve get_channel logic * Update fixtures * Style changes Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Fix the partial implementation of a secure connection. * https 1 * address review Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Add RLL Specific errors and use them where appropriate * update exception name to remove "exception" and keep naming consistent with others * Add a Trace Logger class and use is across RLL to reduce log spam. (Cog-Creators#119) * Add a Trace Logger class and use is across RLL to reduce log spam. * formatting * Tweaks * fix wrong typehint * change from debug to verbose * update logs to not dump handled traceback on console * add some logging around `lavalink.close()` * add missing callback to tasks * reorder for better logging * Add RLL Specific errors and use them where appropriate * conflict resolution + cleanup
#6) Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Add RLL Specific errors and use them where appropriate * update exception name to remove "exception" and keep naming consistent with others * Add a Trace Logger class and use is across RLL to reduce log spam. (Cog-Creators#119) * Add a Trace Logger class and use is across RLL to reduce log spam. * formatting * Tweaks * fix wrong typehint * change from debug to verbose * update logs to not dump handled traceback on console * add some logging around `lavalink.close()` * add missing callback to tasks * reorder for better logging * Add RLL Specific errors and use them where appropriate * conflict resolution + cleanup
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
Jackenmen
approved these changes
Mar 29, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the work @PredaaA, @Drapersniper, and @aikaterna!
Drapersniper
added a commit
to Drapersniper/Red-DiscordBot
that referenced
this pull request
Mar 29, 2022
Jackenmen
added a commit
to Cog-Creators/Red-DiscordBot
that referenced
this pull request
Mar 31, 2022
* Replace player.manager to player.node * Try using bot.is_closed instead of get_voice_ws. * Use Shard.is_closed instead of bot.is_closed. * Use RLL PR as dep. * Update audio to use add dep to Cog-Creators/Red-Lavalink#122 * few thing missing * Missing `player.manager.node` -> `player.node` change * Update setup.cfg Co-authored-by: PredaaA <46051820+PredaaA@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
owocado
added a commit
to owocado/RedPotato
that referenced
this pull request
Sep 12, 2022
commit cadcffbae5544cffd87a02e07d886f6aa4db65aa Author: Kreusada Tagiazala <67752638+Kreusada@users.noreply.github.com> Date: Tue Aug 23 01:32:02 2022 +0100 [Dev] Fix `__repr__()` errors in REPL when referencing an instance of a class & catch Exception (#5794) * initial fix (test) * Replace instances of bare excepts by catching Exception commit 6f046980133858f3fdf889134f4e2c13d7e7ffe2 Author: TheThomanski <15034759+TheThomanski@users.noreply.github.com> Date: Tue Aug 23 01:31:30 2022 +0200 Renamed the country of Turkey to Türkiye (#5795) Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> commit d07eb0f7b29b64249074314c53b5cdcdbdc687c9 Author: Julien Mauroy <pro.julien.mauroy@gmail.com> Date: Tue Aug 23 00:59:29 2022 +0200 fix: use correct typehint in Config.user's docstring (#5791) Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> commit 008fb0f04219204e79cac981fe278da179f5c5bd Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Mon Aug 15 12:55:08 2022 +0200 Red 3.4.18 - Changelog (#5829) commit a32f10d758d9fcd745e5c5372f99fe50fc6003ca Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sun Aug 14 21:03:48 2022 +0200 Use the new ready line from LL dev build 1352+ (#5775) * Revert "Wait for two 'Started Launcher' lines before connecting to managed LL (#5751)" This reverts commit cf85a6470fb17e1038f7448b9ed623ed83a424b5. * Use the new ready line from LL dev build 1352+ commit 4daf81aa5b8d9140ae2295548d22566b07f64a71 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sun Aug 14 19:57:15 2022 +0200 Bump Lavalink.jar version and update the default application.yml (#5823) * Bump Lavalink.jar version * Update the default Lavalink YAML file * Let's add schema migration too... * Fix migration (but still actually untested) commit 87a9c103692895ebd1a5150dc16f1cbac01a01d4 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Wed Aug 10 02:26:09 2022 +0200 Remove Temurin version pin on Windows (#5815) commit 4d1381d7c9090cc9192fe81975d371798bf1b0e2 Author: Lemon Rose <78662983+japandotorg@users.noreply.github.com> Date: Tue Aug 9 05:25:43 2022 +0530 [General] show stage channels in `[p]serverinfo 1` (#5785) * [General] show stage channels in `[p]serverinfo 1` * [General] Formatted with black * fix black * [General] Newline `\n` to match the current formatting. Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> Co-authored-by: Lemon Rose <japandotorg@users.noreply.github.com> Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> commit fb5f9b64987b70de6a59725970e76dfa2bf08880 Author: Kreusada Tagiazala <67752638+Kreusada@users.noreply.github.com> Date: Tue Jul 26 19:54:09 2022 +0100 Fix `[p]set api` docstring (#5807) commit 6ced7ba945b92d463afc01daf1a0a728505f4db1 Author: AAA3A <89632044+AAA3A-AAA3A@users.noreply.github.com> Date: Tue Jul 19 17:10:45 2022 +0200 [Core] Add `--unload-cogs` cli flag. (#5802) * [Core] Add `--unload-cogs` cli. * Fixed error + Reformat. * At @Jack1142's request, the `packages` local variable is no longer a list, but a dictionary with `None` values, to avoid duplication. * Update redbot/core/bot.py Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> * Update redbot/core/bot.py Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> * Update bot.py * Update bot.py Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> commit 7429b4ff89ea56f6fef8b8cc9e865c5fdffade32 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Thu Jul 14 23:34:51 2022 +0200 Add remaining RHEL 9 derivatives EOL dates (#5803) Rocky Linux 9 released today so it is time. commit a0f72ed7dde469dd39e6090ae82bb21e1f10348b Author: River <18037011+RheingoldRiver@users.noreply.github.com> Date: Sun Jul 10 15:42:36 2022 -0500 Update documentation about messages intent (#5798) * Update documentation about messages intents * Remove note * Update screenshot commit ae80e62a1359b4f9f4ef1fd4290bd8a383f4b74c Author: Kreusada Tanfala <67752638+Kreusada@users.noreply.github.com> Date: Wed Jun 29 00:19:20 2022 +0100 Prevent `/` being used in bot or server prefixes (#5693) * Update `[p]set prefix`/`[p]set serverprefix` * Update cli * style * update __main__ * style * improve checks * Raise in Red.set_prefixes, update responses * uniform responses * Fixes * Keep generator variable names consistent across files commit febc503df1a9e46e501f7c87c50d035728ae3bbe Author: Flame442 <34169552+Flame442@users.noreply.github.com> Date: Mon Jun 27 11:16:11 2022 -0400 Update workflow versions (#5789) * Update auto_labeler_issues.yml * Update auto_labeler_pr.yml * Update codeql-analysis.yml * Update crowdin_upload_strings.yml * Update lint_python.yaml * Update prepare_release.yml * Update publish_release.yml * Update tests.yml * Update for breaking change in actions/github-script@v5 Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit ccec53eef35ac28ff5c9d4442c68faa8ec43e746 Author: Kreusada Tanfala <67752638+Kreusada@users.noreply.github.com> Date: Fri Jun 24 17:33:39 2022 +0100 Exclude `get_embed_color` member from Bot framework (#5782) commit 9455ccabfa7bf3e5b6b223343dcb333e97cebf75 Author: Lemon Rose <78662983+japandotorg@users.noreply.github.com> Date: Thu Jun 23 21:49:13 2022 +0530 New Music Trivia List (#5687) * new trivia category - music * fix * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * ty aika * fixed "Mr. Custer" would be more appropriate than "please mister custer" in respect of the original title of the song. * Out of context for a trivia list * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Made changes as per Aika's change requests * duplicate removed * add alternative answers/remove duplicates Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> commit 0cc964b87ce4a81f04506a1cf5970a5ada638145 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Thu Jun 16 18:41:07 2022 +0200 Drop openSUSE Leap 15.2, add openSUSE Leap 15.4 (#5777) * Add openSUSE Leap 15.4 to list in version guarantees * Drop openSUSE Leap 15.2 commit cc4ccd8414c73e23935377cbcc52c378de2240bf Author: Honkertonken <94032937+Honkertonken@users.noreply.github.com> Date: Tue Jun 14 02:25:30 2022 +0530 Update Clash Royale Info in trivia. (#5771) typo + changes commit 68557336dab69230299b9415dbf4a102b511dd9c Author: Jack Reusayda <67752638+Kreusada@users.noreply.github.com> Date: Sun Jun 12 04:50:02 2022 +0100 Geography Trivia: Update most populous city in Africa (Kinshasa) (#5743) Kinshasa -> Lagos commit 7a41becbde98f298e9fadc49a9377f9564c771c2 Author: Lemon Rose <78662983+japandotorg@users.noreply.github.com> Date: Sun Jun 12 05:32:13 2022 +0530 fixed outdated flags (#5684) * fixed outdated flags * made changes as per suggested commit c00f8b3aab09906e435b9501cb03c8435da6d8e1 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Tue Jun 7 04:44:33 2022 +0200 Red 3.4.17 - Changelog (#5763) commit 9c11e85bb44873da18db2144955301124566ef4b Author: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Sun Jun 5 18:27:36 2022 +0100 Include commit hash for each cog inside `[p]cog listpinned` (#5563) * Initial commit * Necessary amendments/changes * style changes (i knew id have to do this...) * Use inline() Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> commit 5522f909bd0d38ed1b80d4128b30b326af126bbf Author: Matt Chandra <55866950+matcha19@users.noreply.github.com> Date: Sun Jun 5 11:51:02 2022 -0400 Allow sending the file in follow-up message in ACL upload commands (#5685) Added follow up message when uploading acl file in permissions cog. commit 1fd93241716c6b93c48edf48dde243746891e0a1 Author: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Sun Jun 5 16:42:11 2022 +0100 Prepend emojis to better differentiate between `[p]canrun` responses (#5711) * Add emojis to better differentiate between canrun responses * Apply `success()` Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> * Apply `error()` Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> * add imports Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> commit 4580a13e984eaaa6b4fdc3b86e642f099504d170 Author: Kowlin <10947836+Kowlin@users.noreply.github.com> Date: Sun Jun 5 17:38:46 2022 +0200 Minor bugfixes resolving around modlog UI (#5615) Multiple bugfixes * Fixed unbound channel_value * Fixed lack of new lines for listcases * Fixed response text for case. It can only be used in the current server. commit 485e6837ca089f3a906e5222ce8a58a5e09ba6ba Author: Candy <28566705+mina9999@users.noreply.github.com> Date: Sun Jun 5 19:46:33 2022 +0430 [Modlog] Check if guild is unavailable (#5647) fix for AttributeError: 'NoneType' object has no attribute 'guild_permissions' commit cc3c1a6a95edc78664b5ee3d2606dd2cb18c2fab Author: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Sun Jun 5 16:07:41 2022 +0100 Add use_spoilers property to `TRIVIA_LIST_SCHEMA` schema (#5566) * Add `use_spoilers` to schema * Update session.py Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> commit 9d50a851ebd23d7323d7841c1d8dd6ea6924a9e6 Author: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Sun Jun 5 15:19:52 2022 +0100 Escape Discord's formatting in `[p]servers` command (#5744) * Escape formatting in `[p]servers` command * style... commit ee69f6e17f9f8cf904e636279659c13ddbabb3bb Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sun Jun 5 04:11:16 2022 +0200 Add RHEL 9 (+ derivatives) install guide (#5721) * rhel->rhel8 rename of the include file for install guides * Add RHEL 9 * Add Alma, Oracle, and Rocky Linux 9 pre-emptively * Add Alma Linux 9 EOL date commit 22ede494621620add367e06bcc3980b092ce1324 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sun Jun 5 04:06:17 2022 +0200 Update Visual Studio Build Tools to 2022 (#5702) commit e93057093e15160f1086d161c9c9f324c30d0a44 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sun Jun 5 03:08:02 2022 +0200 Add Ubuntu 22.04 install guide (#5720) * Add Ubuntu 22.04 install guide * Add Ubuntu 22.04 to End-user guarantees * Add missing information about supported arches in install guide commit cf85a6470fb17e1038f7448b9ed623ed83a424b5 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sun Jun 5 02:46:17 2022 +0200 Wait for two 'Started Launcher' lines before connecting to managed LL (#5751) commit 9cdcf07773f90073563cb3822c6bc05fd2a22330 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sat Jun 4 17:32:23 2022 +0200 Add Fedora 36 and RHEL 8.6 to list in version guarantees (#5701) * Add Fedora 36 to list in version guarantees * Add RHEL 8.6 * Drop Fedora Linux 34 commit 6bb11ad22786bab642efa65efca839c6cade083c Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sat Jun 4 15:24:30 2022 +0200 Use Temurin 11 instead of discontinued AdoptOpenJDK on macOS (#5718) commit 3f1d02598e162d5b65dd9aac05da2c0a522a95c8 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Thu Jun 2 12:59:02 2022 +0200 Replace removed git224 package with git236 in CentOS 7 guide (#5700) commit 53bf387f01255481398d6d023079b5f315b9c09a Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Thu Jun 2 12:55:02 2022 +0200 Pin Temurin version on Windows until fixed version exists (#5717) commit 1e8f4fc2a2ae9d58701103101018a1fe3e2e49b1 Author: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Tue May 31 16:05:52 2022 -0700 [Audio] Update Lavalink.jar build (#5712) commit e36d1bccbfd4e9dbbe567a64d84b0ab8423e98cc Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Wed Jun 1 01:00:13 2022 +0200 Use `latest` d.py docs rather than removed `master` docs (#5713) commit d13d02ebfc11464e0977e2b93264d2d514c01ba4 Author: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Tue May 31 15:40:35 2022 -0700 Fix for using redbot name --edit for changing data location (#5541) * Update __main__.py * style commit 1cf497b12831fa1dab3b83fe1170c93caab7310d Author: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Tue May 31 15:36:07 2022 -0700 Fix changing instance name with redbot --edit (#5540) commit acdc1df084a83abedf55cf1558c739e686902741 Author: Kowlin <10947836+Kowlin@users.noreply.github.com> Date: Fri May 20 21:58:18 2022 +0200 Add support for set api Modals (#5637) * Add support for set api Modals Co-authored-by: TrustyJAID <TrustyJAID@gmail.com> * Blaacckkkk! * Swap locations of interaction and button. * Clarified template tokens * Update docs and some string * More docs * Rework the client Co-authored-by: TrustyJAID <TrustyJAID@gmail.com> * Goddamned black! * Missed a few arguments * Black... Again * Update redbot/core/utils/views.py Co-authored-by: TrustyJAID <TrustyJAID@gmail.com> * Update redbot/core/core_commands.py Co-authored-by: TrustyJAID <TrustyJAID@gmail.com> Co-authored-by: TrustyJAID <TrustyJAID@gmail.com> commit ec55622418810731e1ee2ede1569f81f9bddeeec Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 30 23:28:17 2022 +0200 Update Downloader's git tests to work with Git 2.36+ (#5690) There's no need to update RepoManager's code as: - regex for parsing output about ambiguous refs properly treats the date as part of description regardless of ref type - code for checking if module exists doesn't use the contents of the error message; the test only really checks for it to make sure that it triggers the error case we're actually testing for. We could instead just remove it too. commit 23023da09cf3de6a3fca5c99a1946b683d803a31 Author: MAX <63972751+ltzmax@users.noreply.github.com> Date: Mon Apr 18 23:47:30 2022 +0200 [General] update `[p]serverinfo 1` guild features. (#5655) commit 60b495091a4da417df94e90a6c8e0df3a5d07eb7 Author: Kowlin <10947836+Kowlin@users.noreply.github.com> Date: Sat Apr 16 23:05:57 2022 +0200 Prevent an IndexError from occuring (#5430) * Prevent an IndexError from occuring If an page value is negative it doesn't properly loop around to the end. * Update menus.py * I'm smart 👍 commit 22df591db2358ac4ea446d705f9be4bbcd7a246f Author: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Sat Apr 16 22:00:05 2022 +0100 Add FIFA World Cup Trivia List (#5639) * Create fifa world cup trivia * fix formatting * add source * Update redbot/cogs/trivia/data/lists/worldcup.yaml Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/worldcup.yaml Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/worldcup.yaml Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/worldcup.yaml Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/worldcup.yaml Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Netherlands change Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add Estadio Nacional Julio Martínez Prádanos Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add various rasunda alternatives Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add Republic of South Africa Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add various alternative names for Soccer City Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add alternatives for Luzhniki Stadium Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add Estádio Jornalista Mário Filho and Maracana alternatives Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add alternatives for Stade de Colombes Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add various match-ups for 2 year combos Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add Empire Stadium alias to Wembley Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add Estádio Jornalista Mário Filho to Maracana Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add alternatives for International Stadium Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add alternatives for Monumental de Núñez Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Treat double year as literal string Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> commit 27bed5010f071b09dfc67b0d059d44954562e131 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 16 21:29:12 2022 +0200 Make `controls` in `menu()` optional (#5678) * Make `controls` in `menu()` optional You might wonder, shouldn't we pass `None` to functions from controls? No, we shouldn't because when `None` is passed, only DEFAULT_CONTROLS can be used and that means that the length of pages list won't change. * Update usage in core and core cogs * Add missing docstrings to `redbot.core.utils.menus` module commit 955b40ac6d43b924a62b6a87be2bd9172ed3d5af Author: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Tue Apr 12 21:36:07 2022 +0100 Various updates to geography trivia (#5638) * Various updates to geography trivia * Remove discriminator from AUTHOR key commit 96e8d8cdf512ceda3bfc429770a2ae7ff0fb8117 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 9 21:35:11 2022 +0200 Make DEFAULT_CONTROLS and ReactionPredicate.*_EMOJIS immutable (#5666) * Make ReactionPredicate.*_EMOJIS immutable * Make menus.DEFAULT_CONTROLS immutable * Actually convert NUMBER_EMOJIS to tuple commit 6cb2378e2e2f21ca3ad438da50ce0e6de2714a06 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 9 20:49:45 2022 +0200 Stop suppressing exceptions by early-exiting in `finally` (#5673) * Stop suppressing exceptions in entrypoints due to sys.exit in finally * Remove returns in finally in Modlog API as well... commit 02c0328002b81277e1d900641bafd45117e37e28 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 9 20:47:31 2022 +0200 Add info about supported arches to guides and version guarantees (#5677) * Update version guarantees document with supported arches * Add note about supported architecture to each install guide commit 61c73f2f1f30b5af97d04d312f1c268c21ba9405 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 9 20:17:10 2022 +0200 Add CentOS Stream 9 docs (#5537) commit 841b922e9cb4660c07afb382db861f49a04ed9d0 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 9 20:16:31 2022 +0200 Use absolute path to `which` to avoid aliases (#5547) commit 56c9241de4fdcb20fb8644878d0f7dd851d68998 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 9 20:08:41 2022 +0200 Allow passing channel to `[p]streamalert` and show platform in streamalert list (#5160) * Streamalert list shows each platform the channels were added on * Added argument to specify the discord channel where stream alerts appear * Fixed styling * Changed discord_channel type to discord.TextChannel * Changed join to humanize_list to display the streams list, split the message concatenation into two lines for better readability * Allow specifying discord channel for picarto and hitbox, fix style for youtube and twitch * Since token_name from streamtypes can be None on Picarto and Hitbox, I added an attribute to the Stream class to hold the platform name * Message now tells the user that the stream alert was disabled only for the specified channel. * Address review * fix style * Consistency! Sort of... Co-authored-by: douglas-cpp <douglasc.dev@gmail.com> Co-authored-by: Douglas <douglas.carvalho@edu.unipar.br> commit c9f1a45854a14acf76d6a6a98c2f3f3626a5b8c6 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 9 19:34:12 2022 +0200 Make `--debuginfo` more like `[p]debuginfo` (#5662) commit bc9f34c04b44e413f1d7ae2e085db6ccd80a1554 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Wed Apr 6 00:48:03 2022 +0200 Fix invalid version error with _get_version()-provided version (#5670) * Make sure that the repository we check is in the location we expect * Merge `redbot._version` into `redbot` * Generate VersionInfo in _get_version() This way, if VersionInfo.from_str() generates exception due to invalid version, we catch it. commit 88d2cb397622ad75f7c71a15e7872fd66902bab2 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Tue Apr 5 22:33:43 2022 +0200 Suppress stderr in `_get_version()` (#5667) commit 0b8dec77c36842908dca7b82a2ce9688c2a3be88 Author: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Sun Apr 3 03:31:53 2022 +0100 Remove caching and safety utilities (#5653) * Remove caching * Remove safety * Remove unused private usage commit 2995a457f6fc0b9910fed704eaeb161b8021f917 Author: TrustyJAID <TrustyJAID@gmail.com> Date: Sat Apr 2 20:27:24 2022 -0600 Fix AttributeError in new decorators added to requires (#5665) commit 35f1681dc11a62633f29ba3470dbb8894f10d45d Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Apr 3 03:51:34 2022 +0200 Include tag distance and commit hash in dev versions when possible (#5664) * Include tag distance and commit hash in dev versions when possible * Fix test commit febca8ccbb10d4a618a20c5a25df86ca3532acb0 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Apr 3 03:21:20 2022 +0200 Migration to discord.py 2.0 (#5600) * Temporarily set d.py to use latest git revision * Remove `bot` param to Client.start * Switch to aware datetimes A lot of this is removing `.replace(...)` which while not technically needed, simplifies the code base. There's only a few changes that are actually necessary here. * Update to work with new Asset design * [threads] Update core ModLog API to support threads - Added proper support for passing `Thread` to `channel` when creating/editing case - Added `parent_channel_id` attribute to Modlog API's Case - Added `parent_channel` property that tries to get parent channel - Updated case's content to show both thread and parent information * [threads] Disallow usage of threads in some of the commands - announceset channel - filter channel clear - filter channel add - filter channel remove - GlobalUniqueObjectFinder converter - permissions addglobalrule - permissions removeglobalrule - permissions removeserverrule - Permissions cog does not perform any validation for IDs when setting through YAML so that has not been touched - streamalert twitch/youtube/picarto - embedset channel - set ownernotifications adddestination * [threads] Handle threads in Red's permissions system (Requires) - Made permissions system apply rules of (only) parent in threads * [threads] Update embed_requested to support threads - Threads don't have their own embed settings and inherit from parent * [threads] Update Red.message_eligible_as_command to support threads * [threads] Properly handle invocation of [p](un)mutechannel in threads Usage of a (un)mutechannel will mute/unmute user in the parent channel if it's invoked in a thread. * [threads] Update Filter cog to properly handle threads - `[p]filter channel list` in a threads sends list for parent channel - Checking for filter hits for a message in a thread checks its parent channel's word list. There's no separate word list for threads. * [threads] Support threads in Audio cog - Handle threads being notify channels - Update type hint for `is_query_allowed()` * [threads] Update type hints and documentation to reflect thread support - Documented that `{channel}` in CCs might be a thread - Allowed (documented) usage of threads with `Config.channel()` - Separate thread scope is still in the picture though if it were to be done, it's going to be in separate in PR - GuildContext.channel might be Thread * Use less costy channel check in customcom's on_message_without_command This isn't needed for d.py 2.0 but whatever... * Update for in-place edits * Embed's bool changed behavior, I'm hoping it doesn't affect us * Address User.permissions_in() removal * Swap VerificationLevel.extreme with VerificationLevel.highest * Change to keyword-only parameters * Change of `Guild.vanity_invite()` return type * avatar -> display_avatar * Fix metaclass shenanigans with Converter * Update Red.add_cog() to be inline with `dpy_commands.Bot.add_cog()` This means adding `override` keyword-only parameter and causing small breakage by swapping RuntimeError with discord.ClientException. * Address all DEP-WARNs * Remove Context.clean_prefix and use upstream implementation instead * Remove commands.Literal and use upstream implementation instead Honestly, this was a rather bad implementation anyway... Breaking but actually not really - it was provisional. * Update Command.callback's setter Support for functools.partial is now built into d.py * Add new perms in HUMANIZED_PERM mapping (some from d.py 1.7 it seems) BTW, that should really be in core instead of what we have now... * Remove the part of do_conversion that has not worked for a long while * Stop wrapping BadArgument in ConversionFailure This is breaking but it's best to resolve it like this. The functionality of ConversionFailure can be replicated with Context.current_parameter and Context.current_argument. * Add custom errors for int and float converters * Remove Command.__call__ as it's now implemented in d.py * Get rid of _dpy_reimplements These were reimplemented for the purpose of typing so it is no longer needed now that d.py is type hinted. * Add return to Red.remove_cog * Ensure we don't delete messages that differ only by used sticker * discord.InvalidArgument->ValueError * Move from raw <t:...> syntax to discord.utils.format_dt() * Address AsyncIter removal * Swap to pos-only for params that are pos-only in upstream * Update for changes to Command.params * [threads] Support threads in ignore checks and allow ignoring them - Updated `[p](un)ignore channel` to accept threads - Updated `[p]ignore list` to list ignored threads - Updated logic in `Red.ignored_channel_or_guild()` Ignores for guild channels now work as follows (only changes for threads): - if channel is not a thread: - check if user has manage channels perm in channel and allow command usage if so - check if channel is ignored and disallow command usage if so - allow command usage if none of the conditions above happened - if channel is a thread: - check if user has manage channels perm in parent channel and allow command usage if so - check if parent channel is ignored and disallow command usage if so - check if user has manage thread perm in parent channel and allow command usage if so - check if thread is ignored and disallow command usage if so - allow command usage if none of the conditions above happened * [partial] Raise TypeError when channel is of PartialMessageable type - Red.embed_requested - Red.ignored_channel_or_guild * [partial] Discard command messages when channel is PartialMessageable * [threads] Add utilities for checking appropriate perms in both channels & threads * [threads] Update code to use can_react_in() and @bot_can_react() * [threads] Update code to use can_send_messages_in * [threads] Add send_messages_in_threads perm to mute role and overrides * [threads] Update code to use (bot/user)_can_manage_channel * [threads] Update [p]diagnoseissues to work with threads * Type hint fix * [threads] Patch vendored discord.ext.menus to check proper perms in threads I guess we've reached time when we have to patch the lib we vendor... * Make docs generation work with non-final d.py releases * Update discord.utils.oauth_url() usage * Swap usage of discord.Embed.Empty/discord.embeds.EmptyEmbed to None * Update usage of Guild.member_count to work with `None` * Switch from Guild.vanity_invite() to Guild.vanity_url * Update startup process to work with d.py's new asynchronous startup * Use setup_hook() for pre-connect actions * Update core's add_cog, remove_cog, and load_extension methods * Update all setup functions to async and add awaits to bot.add_cog calls * Modernize cogs by using async cog_load and cog_unload * Address StoreChannel removal * [partial] Disallow passing PartialMessageable to Case.channel * [partial] Update cogs and utils to work better with PartialMessageable - Ignore messages with PartialMessageable channel in CustomCommands cog - In Filter cog, don't pass channel to modlog.create_case() if it's PartialMessageable - In Trivia cog, only compare channel IDs - Make `.utils.menus.menu()` work for messages with PartialMessageable channel - Make checks in `.utils.tunnel.Tunnel.communicate()` more rigid * Add few missing DEP-WARNs commit c9a09719455528e6e52b737ec1164f8ef1165115 Author: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Sat Apr 2 01:57:06 2022 +0100 Reference how to reply in the `[p]contact` command with embed settings (#5529) commit 78e64ec5598a92fc15a5e74b67443e704d460b1b Author: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Sat Apr 2 01:37:44 2022 +0100 add timestamps to all audio embeds (#5632) commit d932abad166749b95a69ab2af9096f72bc32d8da Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 2 01:44:30 2022 +0200 Use Guild.fetch_ban() over Guild.bans() (#5656) commit 67e43eb00b11a2afe44ebfc34385579996cf9010 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Thu Mar 31 15:12:31 2022 +0200 Ignore d.py's |coro| substitution in Sphinx (#5648) commit d8e20afa1d722f072d23055a37fb5292911d3116 Author: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Thu Mar 31 11:40:29 2022 +0100 Fix an incorrect comparison in audio (#5643) Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com> commit 511de5163fac90b62ac9c808a8f386fad2a17325 Author: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Thu Mar 31 10:44:09 2022 +0100 Update Audio to use RLL 0.11.0rc0 (#5631) * Replace player.manager to player.node * Try using bot.is_closed instead of get_voice_ws. * Use Shard.is_closed instead of bot.is_closed. * Use RLL PR as dep. * Update audio to use add dep to https://github.com/Cog-Creators/Red-Lavalink/pull/122 * few thing missing * Missing `player.manager.node` -> `player.node` change * Update setup.cfg Co-authored-by: PredaaA <46051820+PredaaA@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 9ec85d4819fa65def32216a89dce5ba89d5d1468 Author: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Mon Mar 28 16:23:30 2022 +0100 Audio changes (#5593) * Squash tested commits * remove the code jack is concerned about * Apply suggestions from code review * more log lines * more log lines * format * formatting * style(Rename Xms and Xmx mentions): Rename Xms and Xmx to more use friendly names - Change Xms to "Initial Heapsize" - Change Xmx to "Max Heapsize" Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com> commit 5a5b22003fdca686a4493a11c2d51b7b1a77cd7b Author: TrustyJAID <TrustyJAID@gmail.com> Date: Tue Mar 22 14:04:45 2022 -0600 Fix embed requested in DMs (#5635) * Fix embed requested in DM's * Add documentation * black * Address comments * Unnecessary added line * Use correct channel on context * use correct var name * More review stuff commit c69e8d31fdadbe10230ec0ea2ef35402e5c4cf43 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Tue Mar 22 18:06:46 2022 +0100 Reformat with Black 22.1.0 commit f6d9632c8f04965b51270c2405272e41cd1576e2 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Tue Mar 22 10:24:40 2022 +0100 Bump Black version to 22.1.0 commit d87199779e95a168ec96fae522cc84d064deb618 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Mar 21 17:43:52 2022 +0100 Prefer home directory even for system users if it exists (#5022) commit ed4f2cf4660b5a823c33949f5a5358f6ee372acb Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Mar 21 17:24:46 2022 +0100 Switch from low-level loop.create_task and asyncio.ensure_future (#5626) * Switch from low-level loop.create_task and asyncio.ensure_future * Patch vendored discord.ext.menus to use modern APIs as well That ext is no longer maintained by Danny anyway so... * black commit 7a5ada2d920f43e77df806969225a052a0f7fba3 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Mar 21 17:23:23 2022 +0100 Make decorator combining in Requires more consistent (#5625) * Allow combining bot_has_permissions() decos * Improve consistency for Requires.user_perms commit aa55b08a0a2589896666f51fdf581338450aa5ea Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Mar 21 17:23:09 2022 +0100 Set Red._color before login rather than in on_ready (#5627) commit 0f299ae195668cf52244075bd6c18940e0ce6481 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Mar 21 17:22:55 2022 +0100 Support all Messageables in `bot.embed_requested()` (#5576) * Support all Messageables in bot.embed_requested * Update usage in core * Simplify [p]contact This couldn't be done before this change. I have also simplified getting embed color. * Make `True` the new default for `check_permissions` kwarg commit f763d29fd48e3faa8d370c1c16f58fb39d4fab0b Author: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Fri Mar 18 22:41:42 2022 +0000 Add and use Red-Commons library (#5624) * update RC dep * welp 100% tested * fix import * 120% tested * Call _early_init even earlier Not really in scope of this PR but the original was merged before I could share any feedback. * explicitly import getLogger Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 335988c916cd240ed586169c153646391ccf3f59 Author: Leothelion <zkogdxdkur@p.monash.edu> Date: Sat Mar 19 08:52:25 2022 +1100 Update Kazakh Capital City Answer (#5599) commit c8ff3c4cce112f349f8e61538d812d18998fa414 Author: TrustyJAID <TrustyJAID@gmail.com> Date: Fri Mar 18 15:48:32 2022 -0600 Catch overflow errors for mutes time conversion (#5605) commit 193cb3b03596c63478c8ea8fe13052bc12253103 Author: Kuro <83048873+Kuro-Rui@users.noreply.github.com> Date: Sat Mar 19 02:47:41 2022 +0700 [Downloader] Add argument to immediately reload or not (#5623) * Add argument to immediately reload or not * Style * More detailed (and clear) description * Better desc (ig) * plurality Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> commit 2d9548ec0e3377d5f673b104f6fd4c024d63b25a Author: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Wed Mar 16 16:42:17 2022 +0000 Audio cleanup (#5618) * add different logging level callbacks for task exception logging * Add callback to tasks which didn't have them * The boring stuff - (apply .trace() and .verbose() to audio, stop using debug_exc_log, delete audio_logging.py) * Unsured import cleanup * use new lavalink method * return so it doesn't log this twice. * improve logging on main event handler commit 593eeb5362d23d670b2c7ea413ed02cc5aeb47ac Author: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Tue Mar 15 20:20:37 2022 +0000 Add a custom Logger class with both verbose and trace levels. (#5613) * rearrange commits * Update redbot/setup.py * change rich log level colours commit 7d716a2d67ad13515b429e6615fc506dbab80caf Author: GhOsT <79806064+Arman0334@users.noreply.github.com> Date: Sun Mar 6 20:48:48 2022 +0400 Fix formatting breaking with nested formatting utils in help (#5601) * Fix formatting breaking with nested formatters. * Remove useless f-strings * Revert formatting to the one before PR #5435 * One more small formatting revert Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 02f1ad919dcc5126da61b449519fbe5cc31fa1b5 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Feb 28 18:08:16 2022 +0100 Ask if changes were tested in PR template (#5580) commit 58d8cb4d1f761015044d043c494c0a8d09aad2d2 Author: TrustyJAID <TrustyJAID@gmail.com> Date: Mon Feb 28 08:57:59 2022 -0700 Fix grammar in uptime command (#5596) commit 2ee64618af75371cca29734a5a1757f80d314a44 Author: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Tue Feb 22 18:48:37 2022 -0800 Fix spelling error (#5588) commit a6590b0380b8ffa11cafb1773f4dffd4adebb9ab Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Feb 21 16:21:59 2022 +0100 Update redgettext to version 3.4.2 (#5584) commit 50f3168b140a0a32d75b05942d0dcb40af78fefa Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Feb 21 16:10:58 2022 +0100 Update redgettext to version 3.4.1 (#5583) commit 299a537f840ed458588bda5449e47876d9e08213 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Feb 21 15:56:33 2022 +0100 Update redgettext to version 3.4 (#5582) commit eeffbf8231be7687a18fbc303d4a6281094608b8 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Feb 20 22:52:58 2022 +0100 Avoid potential memory leak in Filter cog (#5578) commit 0338e8e0a8a852fd3bd497eef13cc6ace95ee3a1 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Feb 20 22:42:56 2022 +0100 Avoid 'editing' message with no changes when case is created (#5577) commit 78dc1d4cd8d6da77ce90ed91ca181d75e49d8492 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Feb 20 22:01:40 2022 +0100 Update discord-ext-menus vendor to latest commit (#5579) Vendor `discord.ext.menus` from commit `fbb8803779373357e274e1540b368365fd9d8074` at Rapptz/discord-ext-menus commit 8d465681804b4cac366a091d7de0958d712f8c80 Author: crayyy_zee <65814383+i-am-zaidali@users.noreply.github.com> Date: Mon Feb 21 01:50:07 2022 +0500 Add typechecking to config from_id methods (#5564) * [config] Add typechecking for parameters * change instance check * Knew it, shouldnt have added these * black commit b0ab6186ef20ef16d97d9a2f8771417b08ea27f3 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Feb 20 21:49:39 2022 +0100 Ensure that registered Config defaults are serializable to JSON (#5557) commit 9baf9ba546ceb1af0b8e2adb9ddf685ad88e3268 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Feb 20 21:48:59 2022 +0100 Fix number of cogs in Getting started doc after Bank cog removal (#5516) commit 669f3e30735bb6efe3f565bda8fc5414d09d8a58 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Wed Feb 16 18:47:22 2022 +0100 Emphasize lines with things to replace in autostart guides (#5548) * Emphasize lines with things to replace in autostart guides * Use 'default' pygments style instead commit c6517d5087100d39a241d2c824adfb9c0731e746 Author: Dav <57032623+Dav-Git@users.noreply.github.com> Date: Wed Feb 16 01:25:21 2022 +0000 [Core/Core Cogs] Prevent translation errors and use formatting utils (#5435) * Use proper syntax for inline formatting in core_commands * use proper formating utils in core and core cogs wherever reasonable * tests are awesome * ensure "(continued)" is translated in help.py * add colons to translatable strings for easier context comprehension by translators * Thx flame :) Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * good point Co-authored-by: Dav <dav@mail.stopdavabuse.de> Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> commit 9ab307c1efc391301fc6498391d2e403aeee2faa Author: Vexed <vex@vexcodes.com> Date: Sat Jan 29 17:30:15 2022 +0000 Remove specific number of steps in update docs (#5556) * change 4 to a few bc 4 is a lie * wait linux exists * Apply suggestions from code review Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit e33985f9695e15638a0e6a5677a0adb445f8e9fa Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Jan 29 17:16:44 2022 +0100 Disallow crawling of versioned documentation in robots.txt (#5549) commit b05933274a11fb097873ab0d1b246d37b06aa306 Author: Flame442 <34169552+Flame442@users.noreply.github.com> Date: Wed Jan 12 12:20:22 2022 -0500 [Audio] Fix UnboundLocalError in edge case (#5394) * Fix UnboundLocalError in edge case * Fix typehint for fetch * Style commit 05cd11b657c83bf8abc99a7bc63d4cfd82ba29ae Author: untir_l <87096069+untir-l@users.noreply.github.com> Date: Tue Jan 11 22:05:50 2022 +0530 Fix typo in Audio seek command description (#5530) commit de53d15cf8d64778979862946529537701c45f9d Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Jan 10 17:52:36 2022 +0100 Update copyright (#5526) commit cfa8f15faabb58ed52b8279f96a2341a48d81de5 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Jan 10 17:52:20 2022 +0100 Update "copyright notice" for Dev cog (#5527) commit 6ff844e605db6cd73f4b588cac5f7719cea1f781 Author: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Tue Jan 4 16:52:15 2022 -0800 Fix formatting in error message about already installed cog (#5531) commit fbe378657c7017d397d9aa6fd040ffd1c9a372ef Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Fri Dec 31 19:08:06 2021 +0100 Red 3.4.16 - Changelog (#5520) * Red 3.4.16 - Changelog * Add contribs! commit a4ba249e27db9f6f7dbf0e3b12400ec4a409d9d2 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Fri Dec 31 03:13:00 2021 +0100 Red 3.4.15 - Changelog (#5504) * Red 3.4.15 - Changelog * Use stronger words * Add jar stuff * Add 5499 * Minor grammar stuff * add 5472 * Add 5452 * Add 5448 * Add date and contributors * Update docs/changelog_3_4_0.rst Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * the other thing Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> commit 1ecbe6cebb90317e9a7b499e43887bb84d2cdfb0 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Fri Dec 31 02:51:06 2021 +0100 Only check for permissions when `check_permissions` is True (#5510) commit a787033e1d39be528db45ac0188cc92b7ed0a111 Author: Just-Jojo <62262765+Just-Jojo@users.noreply.github.com> Date: Thu Dec 30 20:22:29 2021 -0500 [Events] Rename guild remove listener (#5498) * [Events] on_guild_leave => on_guild_remove * [Events] on_guild_leave => on_guild_remove commit 8cc004f70fd2d3adfa842239ba63f3abeae00af4 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Fri Dec 31 02:08:18 2021 +0100 Add non-interactive mode to redbot-setup (#5448) * Simplify `redbot-setup backup` thanks to Click 8.0 * Add some of the missing type hints * Fix unnecessary new lines in `redbot-setup` and `redbot-setup delete` * Add default value for storage backend * Add non-interactive mode to `redbot-setup` commit ff7c146b62ba225b17d3587655d7022f840cbd87 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Fri Dec 31 02:01:23 2021 +0100 Make embeds in help output consistent (#5452) * Add `check_permissions` kwarg to `bot.embed_requested()` * Make embeds in help consistent regardless of why it's being sent commit faab711ec8120e74f52099b71cf59f30810bee97 Author: Kowlin <Kowlin@users.noreply.github.com> Date: Fri Dec 31 01:39:39 2021 +0100 Ensure Nitro users can't make CCs that are too long (#5499) * Ensure Nitro users can't make CCs that are too long Co-authored-by: TrustyJAID <TrustyJAID@gmail.com> * Tox formatting * Update to account for edits and better handling of randoms Co-authored-by: TrustyJAID <TrustyJAID@gmail.com> commit c49d0ec9d3041f267836aa089579dce65e261044 Author: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Thu Dec 30 16:16:28 2021 -0800 Update Lavalink.jar, Red-Lavalink and make changes to support it (#5474) * Lavalink error handling update * comment typo * address review * Update redbot/cogs/audio/core/events/lavalink.py * Bump jar version * Bump RLL version Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 337f58f9fb7c4b51a29632f2698fb0a7afa694f9 Author: GhOsT <79806064+Arman0334@users.noreply.github.com> Date: Fri Dec 31 01:31:01 2021 +0400 Fix short help in docstrings for core cogs and commands (#5502) * fix part of command description not appearing in the help command. * Add more Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit dce2378806b251ba14ac146d973b4b3e3500b314 Author: Flame442 <34169552+Flame442@users.noreply.github.com> Date: Wed Dec 29 18:46:36 2021 -0500 Prevent unexpected timedelta matches (#5393) * Prevent unexpected matches by asserting whitespace or eof at the end of matches * Use a positive lookahead instead of a capturing group to support 1d6h syntax * Use fullmatch instead of modifying regex strings commit 9c05db1104990c38b8bf535c92b4a0e86f648b10 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Dec 26 22:04:36 2021 +0100 Allow mocking attachment-only msg, fix docstring, small refactor (#5446) * Use the logic from `[p]mock` in `[p]mockmsg`, fix docstring * Let people mock attachment-only messages * Use empty string, not None commit 90406be9ea6c3e6ecb14a768b34a7e9f0d7bb5d8 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Dec 26 21:50:54 2021 +0100 Remove old note about updating Red in Unix install guides (#5439) This was removed long ago from the Windows guide (#4119) but it seems like we never got around to removing it from Unix install guides as well. This note is rather inaccurate and the source of truth for updating Red is available in the Updating Red document. commit d1df27bc14157267f1da12d5eb627fb041af8346 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Dec 26 21:50:22 2021 +0100 Update supported OSes (add Alma Linux, RPi OS 11, drop EOL OSes) (#5440) * Drop Fedora 33 By the time we release, it's going to reach EOL. * Drop Raspberry Pi OS 10, add support for 11 * Bring RPi OS 10 back * Add Alma Linux 8 * Fix-up RHEL EOL dates * Add '(Legacy)' to Raspberry Pi OS 10 * Drop CentOS 8 commit e5b8fc4585d4d592b58f19a0882f723ee3d2e488 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Dec 26 21:45:56 2021 +0100 Bump Python version in install guides to 3.9.9 (#5447) commit db0f4ce44d57abba449c8d9777f66c992bbf52cc Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Dec 26 21:12:23 2021 +0100 Add jack1142 as code owner of install/update guides (#5493) commit 5a047bf97966d363d8cb8b5f059f5ad993ce613e Author: Parnassius <Parnassius@users.noreply.github.com> Date: Sun Dec 26 19:09:37 2021 +0100 Make `emptydisconnect` disconnect when all vc members are bots (#5421) * [Audio] Disconnect from voice chat when every connected user is a bot * Update condition according to code review Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 6297bfcab6def31fdbd1d674336d9493c8c52adb Author: Stonedestroyer <1307729+Stonedestroyer@users.noreply.github.com> Date: Sat Dec 25 22:08:32 2021 +0100 Make invite URL part of public API (#5424) * Make invite URL public API * Add doc and RPC * Lint * Update redbot/core/core_commands.py Co-authored-by: Matt <psykzz@users.noreply.github.com> * Update redbot/core/bot.py Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> * RPC handling, * Fix appinfo * Change docs * Fix docs * Change docs * Update redbot/core/core_commands.py Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> * Docstring changes * nit Co-authored-by: Matt <psykzz@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit d27dbded8a0b67d04014d956b371bcb675d5fcf8 Author: Vexed <vex@vexcodes.com> Date: Sat Dec 25 20:11:48 2021 +0000 Fix RPC cog load and unload by returning dicts (#5453) * use dicts for CoreLogic package management returns * address review * failed_packages->notloaded_packages in _unload Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit a228a0d0b31f1986791af9120d1c04e34e01330a Author: Alex <58824393+vertyco@users.noreply.github.com> Date: Sat Dec 25 12:08:13 2021 -0500 Show role payday amounts in `economyset showsettings` (#5457) * [V3/develop] show RolePaydayAmounts in showsettings command * Update economy.py * Switch to using a list (nitpicky optimizations) https://docs.python.org/3/faq/programming.html#what-is-the-most-efficient-way-to-concatenate-many-strings-together * Mark the text as translatable Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 7db3339abab6b2abf46bd871e57921c508c7cd02 Author: Jan <sentrycraft123@gmail.com> Date: Sat Dec 25 17:34:02 2021 +0100 isolate direction of username within modlog (#5422) * isolate direction of username within modlog * Add link to Unicode's usage Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit b091f13df5b291dc483ed12023e69e600f09e938 Author: MAX <63972751+ltzmax@users.noreply.github.com> Date: Sat Dec 25 04:14:16 2021 +0100 [Core] Changed prefix length to `40`. (#5476) * Update core_commands.py * Docs yes facebook's metaverse *jokes on me* * meta * forgot here * Update core_commands.py * Forgot here * And forgot here commit e878483318cea041e70bdbcc62c2467c994dc527 Author: Toby Harradine <Tobotimus@users.noreply.github.com> Date: Sat Dec 25 13:19:18 2021 +1100 [Config] Add type-hints to _ValueContextManager methods (#5344) Without these type-hints, I've found that PyCharm misidentifies the returned type, causing a number of false positives in static type checking. commit 551e6d9f5549fbf09fcf17bf2c170147d962fd51 Author: MAX <63972751+ltzmax@users.noreply.github.com> Date: Sat Dec 25 03:12:03 2021 +0100 Update host list with new locations for Hetzner and Contabo (#5475) commit cef55459c64ba4678a3857a90888f463c3f1e3d5 Author: Vexed <vex@vexcodes.com> Date: Sat Dec 25 02:02:44 2021 +0000 Fix issues with loading config.json when it doesn't exist (#5416) * 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 Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 5e527cb27df24b2b9bb9ce6fe93df9394dbb674b Author: aleclol <50505980+aleclol@users.noreply.github.com> Date: Fri Dec 24 20:04:33 2021 -0500 Add necessary None checks to Core's usage of `Requires.privilege_level` (#5477) * Check if it has a privilege level * Let's fix this in warnings too Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit bae85c35c14327857fcb938676b3444ea038ca26 Author: Ryan <yamikaitou@gmail.com> Date: Fri Dec 24 19:05:23 2021 -0500 [Docs] Correct set api examples to be consistent for Spotify (#5444) * consistant usage * switch audiodb to youtube Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 4e469ce15e784ff77593de2de4fa7ed22cf9ee97 Author: PredaaA <46051820+PredaaA@users.noreply.github.com> Date: Sat Dec 25 01:02:37 2021 +0100 Remove voice region field in [p]serverinfo (#5449) * [General] Remove guild region on serverinfo * Remove in string too. commit e068294cc8743fdcc921704338f6337388788342 Author: Kreus Amredes <67752638+Kreusada@users.noreply.github.com> Date: Fri Dec 24 23:54:37 2021 +0000 Restrict `[p]cleanupset notify` to guild only (#5466) commit 2c51182e8eb79aa880620c3c2b9dd1be08efaaf3 Author: krak3n <84792368+the-krak3n@users.noreply.github.com> Date: Sat Dec 25 05:21:17 2021 +0530 Add plural forms to the responses of `[p]leave` command (#5391) * 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 Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 442cad79173c0c57ccfe22c20d79d5a4695629c7 Author: sravan <miniclip1956@gmail.com> Date: Thu Dec 23 07:21:55 2021 +0530 [Mod] Typo in unban command (#5470) commit e993e749eed135ce0070d36acea59a1fded58e49 Author: Leet <36166244+L33Tech@users.noreply.github.com> Date: Wed Dec 22 20:48:05 2021 -0500 Update links to installation guides in README (#5426) * Update links to installation guides * Update Windows link This one redirects correctly but updated it anyways * Update all red-discordbot.readthedocs.io links to docs.discord.red commit bf0fab8575d6672ff40c4ce5eba5c8ab2943d015 Author: Kreus Amredes <67752638+Kreusada@users.noreply.github.com> Date: Sat Dec 11 14:57:05 2021 +0000 Remove Bank cog from labeler configuration (#5464) commit 0158dbab1d9576f5560a62dca1d707b647626881 Author: Kowlin <Kowlin@users.noreply.github.com> Date: Wed Dec 1 21:35:30 2021 +0100 Reorganize `[p]set` command group (#5432) * Reorganised Set command group * Moved custominfo * Tox styling * Make `set locale®ionalformat` groups work same as server subcommands * Use consistent method names for commands in `[p]set` group * Update command names in docstrings * Remove some weird rst formatting that bugs out my syntax highlighting * Add checks to some command groups * Update docs * oops * Minor fixes * Move `[p]set api` group and its subcommands to other command groups * Move `[p]set ownernotifications` group to other command groups * black reformat Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 6acdcdeae96b231e37d13bb490189293b9f6cf73 Author: palmtree5 <3577255+palmtree5@users.noreply.github.com> Date: Thu Nov 25 00:06:30 2021 -0900 Move modlogset/bankset commands to core (#4486) * Move bankset and modlogset to core commands * Move prune over too * Finish moving prune * Move [p]economyset registeramount to [p]bankset registeramount * style fix * Fix circular import issue with another breaking change * Apparently I missed a conflict and git still let me commit... * Really git? * Rename RawUserIds -> RawUserIdConverter, improve documentation * Improve documentation of `is_owner_if_bank_global()` * MENTION_REGEX -> USER_MENTION_REGEX * Add 'bank.' prefix * Fix command examples in docstrings * Missing docstring change from `bankset prune` * Missing changes for commands in modlogset * Update docs * Remove duplicated info in `economyset showsettings` * Fix toctree in index.rst * Add command group prefixes to names of functions for bankset/modlogset * Remaining string updates due to command name changes * Ensure that the bank folder is actually gone Co-authored-by: palmtree5 <palmtree5+3577255@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit fc560db72de9f4d8902b46ceaea01e302dd35a11 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Fri Nov 5 12:18:23 2021 +0100 Stop fetching the messages when getting the cases in Modlog (#4977) * Use PartialMessage when Case is fetched from Config * Update docstring commit 4ec0d2bb017721394c66ac25294d8f9456e65ac9 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Wed Nov 3 18:11:46 20…
owocado
added a commit
to owocado/RedPotato
that referenced
this pull request
Sep 12, 2022
commit 1bfbefe9c4269851217d92c6e09025e09c2caf73 Author: Kreusada Tagiazala <67752638+Kreusada@users.noreply.github.com> Date: Tue Aug 23 01:32:02 2022 +0100 [Dev] Fix `__repr__()` errors in REPL when referencing an instance of a class & catch Exception (#5794) * initial fix (test) * Replace instances of bare excepts by catching Exception commit 0e01344aa3b9b2660e42c3627daffb924435879d Author: TheThomanski <15034759+TheThomanski@users.noreply.github.com> Date: Tue Aug 23 01:31:30 2022 +0200 Renamed the country of Turkey to Türkiye (#5795) Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> commit 344b31e8cc46041edd84b92d242306a98bcbd6c6 Author: Julien Mauroy <pro.julien.mauroy@gmail.com> Date: Tue Aug 23 00:59:29 2022 +0200 fix: use correct typehint in Config.user's docstring (#5791) Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> commit c2a10685511b0f45b80f7a9a651f5777e3e5edcb Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Mon Aug 15 12:55:08 2022 +0200 Red 3.4.18 - Changelog (#5829) commit 3a4dd8f963ab53865e7ccfb4e125f437d5beabcb Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sun Aug 14 21:03:48 2022 +0200 Use the new ready line from LL dev build 1352+ (#5775) * Revert "Wait for two 'Started Launcher' lines before connecting to managed LL (#5751)" This reverts commit 034bc7761df62409b66da960f7e522cfcd8e814e. * Use the new ready line from LL dev build 1352+ commit 98c1d9015d0bcb8a18027b777ede40d3328c7123 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sun Aug 14 19:57:15 2022 +0200 Bump Lavalink.jar version and update the default application.yml (#5823) * Bump Lavalink.jar version * Update the default Lavalink YAML file * Let's add schema migration too... * Fix migration (but still actually untested) commit e180556f29434bbb165ff313355346a02c650d9d Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Wed Aug 10 02:26:09 2022 +0200 Remove Temurin version pin on Windows (#5815) commit 1768c7f6efaac96e115212e39600d8f9b7a8e7c0 Author: Lemon Rose <78662983+japandotorg@users.noreply.github.com> Date: Tue Aug 9 05:25:43 2022 +0530 [General] show stage channels in `[p]serverinfo 1` (#5785) * [General] show stage channels in `[p]serverinfo 1` * [General] Formatted with black * fix black * [General] Newline `\n` to match the current formatting. Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> Co-authored-by: Lemon Rose <japandotorg@users.noreply.github.com> Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> commit 03f8dcaffc404f6e1f9fd14a51a673b7d7d69c14 Author: Kreusada Tagiazala <67752638+Kreusada@users.noreply.github.com> Date: Tue Jul 26 19:54:09 2022 +0100 Fix `[p]set api` docstring (#5807) commit 0f2b91f6ee3863782e9cb23c58c0b1554f92cec5 Author: AAA3A <89632044+AAA3A-AAA3A@users.noreply.github.com> Date: Tue Jul 19 17:10:45 2022 +0200 [Core] Add `--unload-cogs` cli flag. (#5802) * [Core] Add `--unload-cogs` cli. * Fixed error + Reformat. * At @Jack1142's request, the `packages` local variable is no longer a list, but a dictionary with `None` values, to avoid duplication. * Update redbot/core/bot.py Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> * Update redbot/core/bot.py Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> * Update bot.py * Update bot.py Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> commit 422f92ee5885d9b6935464ae8d150c4439aac02e Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Thu Jul 14 23:34:51 2022 +0200 Add remaining RHEL 9 derivatives EOL dates (#5803) Rocky Linux 9 released today so it is time. commit 4ff9e030cc037673bdb0b4117205a84f000cf4ae Author: River <18037011+RheingoldRiver@users.noreply.github.com> Date: Sun Jul 10 15:42:36 2022 -0500 Update documentation about messages intent (#5798) * Update documentation about messages intents * Remove note * Update screenshot commit 405de8b0e1174f86331ca83c0554aa4e7e1b880f Author: Kreusada Tanfala <67752638+Kreusada@users.noreply.github.com> Date: Wed Jun 29 00:19:20 2022 +0100 Prevent `/` being used in bot or server prefixes (#5693) * Update `[p]set prefix`/`[p]set serverprefix` * Update cli * style * update __main__ * style * improve checks * Raise in Red.set_prefixes, update responses * uniform responses * Fixes * Keep generator variable names consistent across files commit 94c00f04555e2b24a46a32f916b809b43a6d76f3 Author: Flame442 <34169552+Flame442@users.noreply.github.com> Date: Mon Jun 27 11:16:11 2022 -0400 Update workflow versions (#5789) * Update auto_labeler_issues.yml * Update auto_labeler_pr.yml * Update codeql-analysis.yml * Update crowdin_upload_strings.yml * Update lint_python.yaml * Update prepare_release.yml * Update publish_release.yml * Update tests.yml * Update for breaking change in actions/github-script@v5 Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit adcbedbf8f6b4be6d5b4f38e0c8133ecca9a316c Author: Kreusada Tanfala <67752638+Kreusada@users.noreply.github.com> Date: Fri Jun 24 17:33:39 2022 +0100 Exclude `get_embed_color` member from Bot framework (#5782) commit 052cfd7ac2a62c02d2cbcabb6adff168d48e932a Author: Lemon Rose <78662983+japandotorg@users.noreply.github.com> Date: Thu Jun 23 21:49:13 2022 +0530 New Music Trivia List (#5687) * new trivia category - music * fix * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * ty aika * fixed "Mr. Custer" would be more appropriate than "please mister custer" in respect of the original title of the song. * Out of context for a trivia list * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/music.yaml Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> * Made changes as per Aika's change requests * duplicate removed * add alternative answers/remove duplicates Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com> commit 7bb343df239eb392868c88f4272ea3e6a5d075a3 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Thu Jun 16 18:41:07 2022 +0200 Drop openSUSE Leap 15.2, add openSUSE Leap 15.4 (#5777) * Add openSUSE Leap 15.4 to list in version guarantees * Drop openSUSE Leap 15.2 commit 8522f9759e436717cb0688d3a260591119e6697d Author: Honkertonken <94032937+Honkertonken@users.noreply.github.com> Date: Tue Jun 14 02:25:30 2022 +0530 Update Clash Royale Info in trivia. (#5771) typo + changes commit b1985eceb0cd6d3d7b0a1a76427462428ca020a2 Author: Jack Reusayda <67752638+Kreusada@users.noreply.github.com> Date: Sun Jun 12 04:50:02 2022 +0100 Geography Trivia: Update most populous city in Africa (Kinshasa) (#5743) Kinshasa -> Lagos commit 853ea55c17ea46b62401f72df6fda4383b982f04 Author: Lemon Rose <78662983+japandotorg@users.noreply.github.com> Date: Sun Jun 12 05:32:13 2022 +0530 fixed outdated flags (#5684) * fixed outdated flags * made changes as per suggested commit 2ad91202fd578c4c8bb0ba713b01dc0bea2c386a Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Tue Jun 7 04:44:33 2022 +0200 Red 3.4.17 - Changelog (#5763) commit f56e3fe6f124cb049de513b0f434c2f6db915a65 Author: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Sun Jun 5 18:27:36 2022 +0100 Include commit hash for each cog inside `[p]cog listpinned` (#5563) * Initial commit * Necessary amendments/changes * style changes (i knew id have to do this...) * Use inline() Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> commit 8fe1139c289eff5de9a3e8a9b5c18e399fcdcbf7 Author: Matt Chandra <55866950+matcha19@users.noreply.github.com> Date: Sun Jun 5 11:51:02 2022 -0400 Allow sending the file in follow-up message in ACL upload commands (#5685) Added follow up message when uploading acl file in permissions cog. commit f66080a7ad5e06efb2d6cf702982081281477511 Author: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Sun Jun 5 16:42:11 2022 +0100 Prepend emojis to better differentiate between `[p]canrun` responses (#5711) * Add emojis to better differentiate between canrun responses * Apply `success()` Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> * Apply `error()` Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> * add imports Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> commit 129747f9bc44495cbb92dd9f1ce9b120902a10ed Author: Kowlin <10947836+Kowlin@users.noreply.github.com> Date: Sun Jun 5 17:38:46 2022 +0200 Minor bugfixes resolving around modlog UI (#5615) Multiple bugfixes * Fixed unbound channel_value * Fixed lack of new lines for listcases * Fixed response text for case. It can only be used in the current server. commit 85baaec2d898a3085fa4c19fc220a2d04325bfc5 Author: Candy <28566705+mina9999@users.noreply.github.com> Date: Sun Jun 5 19:46:33 2022 +0430 [Modlog] Check if guild is unavailable (#5647) fix for AttributeError: 'NoneType' object has no attribute 'guild_permissions' commit c4234b3610aab11f2c10d73b7117a5e5427712fe Author: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Sun Jun 5 16:07:41 2022 +0100 Add use_spoilers property to `TRIVIA_LIST_SCHEMA` schema (#5566) * Add `use_spoilers` to schema * Update session.py Co-authored-by: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> commit 3321369c233f87aefa32102cb717f42ce7001168 Author: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Sun Jun 5 15:19:52 2022 +0100 Escape Discord's formatting in `[p]servers` command (#5744) * Escape formatting in `[p]servers` command * style... commit 1ba1d130ea82cc2e87685ae7f99d4d488a704272 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sun Jun 5 04:11:16 2022 +0200 Add RHEL 9 (+ derivatives) install guide (#5721) * rhel->rhel8 rename of the include file for install guides * Add RHEL 9 * Add Alma, Oracle, and Rocky Linux 9 pre-emptively * Add Alma Linux 9 EOL date commit 870cb74ae1ed9b6a18604beabda82261e686ee8a Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sun Jun 5 04:06:17 2022 +0200 Update Visual Studio Build Tools to 2022 (#5702) commit 7860b8e9e08545f0661112cb7d3387a78de82f82 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sun Jun 5 03:08:02 2022 +0200 Add Ubuntu 22.04 install guide (#5720) * Add Ubuntu 22.04 install guide * Add Ubuntu 22.04 to End-user guarantees * Add missing information about supported arches in install guide commit 034bc7761df62409b66da960f7e522cfcd8e814e Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sun Jun 5 02:46:17 2022 +0200 Wait for two 'Started Launcher' lines before connecting to managed LL (#5751) commit a304cfc8806a6a4f950f6a4786b50eddb53f1176 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sat Jun 4 17:32:23 2022 +0200 Add Fedora 36 and RHEL 8.6 to list in version guarantees (#5701) * Add Fedora 36 to list in version guarantees * Add RHEL 8.6 * Drop Fedora Linux 34 commit c86ec8758dfc53479770cf847cd5fba14225c411 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sat Jun 4 15:24:30 2022 +0200 Use Temurin 11 instead of discontinued AdoptOpenJDK on macOS (#5718) commit 117ddcede4e42f300e6a4167437c1fa5699c4ac9 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Thu Jun 2 12:59:02 2022 +0200 Replace removed git224 package with git236 in CentOS 7 guide (#5700) commit 22f5b6d8c000c4c0b2011740ff89f8b46171a98e Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Thu Jun 2 12:55:02 2022 +0200 Pin Temurin version on Windows until fixed version exists (#5717) commit a3d5b861d96d6f8d28b1862704b5025c3eac7849 Author: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Tue May 31 16:05:52 2022 -0700 [Audio] Update Lavalink.jar build (#5712) commit 7d5c960e7a1c24100093c12ee79a143d26385310 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Wed Jun 1 01:00:13 2022 +0200 Use `latest` d.py docs rather than removed `master` docs (#5713) commit b569b1199f1773f7808c84b4d7187995eeb0456f Author: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Tue May 31 15:40:35 2022 -0700 Fix for using redbot name --edit for changing data location (#5541) * Update __main__.py * style commit 83ba6c5ea1cd0c5daf1279aa9e357aa28023aed7 Author: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Tue May 31 15:36:07 2022 -0700 Fix changing instance name with redbot --edit (#5540) commit 89109f85799e93ad273d902719cb0ae6adb52da4 Author: Kowlin <10947836+Kowlin@users.noreply.github.com> Date: Fri May 20 21:58:18 2022 +0200 Add support for set api Modals (#5637) * Add support for set api Modals Co-authored-by: TrustyJAID <TrustyJAID@gmail.com> * Blaacckkkk! * Swap locations of interaction and button. * Clarified template tokens * Update docs and some string * More docs * Rework the client Co-authored-by: TrustyJAID <TrustyJAID@gmail.com> * Goddamned black! * Missed a few arguments * Black... Again * Update redbot/core/utils/views.py Co-authored-by: TrustyJAID <TrustyJAID@gmail.com> * Update redbot/core/core_commands.py Co-authored-by: TrustyJAID <TrustyJAID@gmail.com> Co-authored-by: TrustyJAID <TrustyJAID@gmail.com> commit 29b0c882bd1d03f5d70cd9947ff519add831f752 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 30 23:28:17 2022 +0200 Update Downloader's git tests to work with Git 2.36+ (#5690) There's no need to update RepoManager's code as: - regex for parsing output about ambiguous refs properly treats the date as part of description regardless of ref type - code for checking if module exists doesn't use the contents of the error message; the test only really checks for it to make sure that it triggers the error case we're actually testing for. We could instead just remove it too. commit 0698a8b976244b4484edc6c1ab3a23e7ae216b5e Author: MAX <63972751+ltzmax@users.noreply.github.com> Date: Mon Apr 18 23:47:30 2022 +0200 [General] update `[p]serverinfo 1` guild features. (#5655) commit 955ca7cc30c36872ea119dd28a29bc968045e560 Author: Kowlin <10947836+Kowlin@users.noreply.github.com> Date: Sat Apr 16 23:05:57 2022 +0200 Prevent an IndexError from occuring (#5430) * Prevent an IndexError from occuring If an page value is negative it doesn't properly loop around to the end. * Update menus.py * I'm smart 👍 commit c46d6973db8fb20d895f4902a3e268126762f5f0 Author: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Sat Apr 16 22:00:05 2022 +0100 Add FIFA World Cup Trivia List (#5639) * Create fifa world cup trivia * fix formatting * add source * Update redbot/cogs/trivia/data/lists/worldcup.yaml Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/worldcup.yaml Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/worldcup.yaml Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/worldcup.yaml Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Update redbot/cogs/trivia/data/lists/worldcup.yaml Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Netherlands change Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add Estadio Nacional Julio Martínez Prádanos Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add various rasunda alternatives Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add Republic of South Africa Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add various alternative names for Soccer City Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add alternatives for Luzhniki Stadium Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add Estádio Jornalista Mário Filho and Maracana alternatives Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add alternatives for Stade de Colombes Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add various match-ups for 2 year combos Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add Empire Stadium alias to Wembley Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add Estádio Jornalista Mário Filho to Maracana Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add alternatives for International Stadium Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Add alternatives for Monumental de Núñez Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * Treat double year as literal string Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> commit 6f9eafb17f4674e8a1c66205ae5d37db2b5c90c6 Author: Jakub Kuczys <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 16 21:29:12 2022 +0200 Make `controls` in `menu()` optional (#5678) * Make `controls` in `menu()` optional You might wonder, shouldn't we pass `None` to functions from controls? No, we shouldn't because when `None` is passed, only DEFAULT_CONTROLS can be used and that means that the length of pages list won't change. * Update usage in core and core cogs * Add missing docstrings to `redbot.core.utils.menus` module commit ecc6c26ccbf4610cd2f11ec38be25a2f2e8ca47b Author: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Tue Apr 12 21:36:07 2022 +0100 Various updates to geography trivia (#5638) * Various updates to geography trivia * Remove discriminator from AUTHOR key commit 3dd75c1d7440ab5e9468d3cccf5f521d7103d965 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 9 21:35:11 2022 +0200 Make DEFAULT_CONTROLS and ReactionPredicate.*_EMOJIS immutable (#5666) * Make ReactionPredicate.*_EMOJIS immutable * Make menus.DEFAULT_CONTROLS immutable * Actually convert NUMBER_EMOJIS to tuple commit cb7890c9a0eb481f091684e4fd5be9725a36c262 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 9 20:49:45 2022 +0200 Stop suppressing exceptions by early-exiting in `finally` (#5673) * Stop suppressing exceptions in entrypoints due to sys.exit in finally * Remove returns in finally in Modlog API as well... commit b66d25d5e145b5365cfd8dc049687d4536a477ae Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 9 20:47:31 2022 +0200 Add info about supported arches to guides and version guarantees (#5677) * Update version guarantees document with supported arches * Add note about supported architecture to each install guide commit 7ec71c217fe8ef27392d06f6220f1e8a674a8032 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 9 20:17:10 2022 +0200 Add CentOS Stream 9 docs (#5537) commit 23cd4337080169fc075540e7afa277f49268b35e Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 9 20:16:31 2022 +0200 Use absolute path to `which` to avoid aliases (#5547) commit 8f42ec71142e3a1d3983580501004139ff51ef85 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 9 20:08:41 2022 +0200 Allow passing channel to `[p]streamalert` and show platform in streamalert list (#5160) * Streamalert list shows each platform the channels were added on * Added argument to specify the discord channel where stream alerts appear * Fixed styling * Changed discord_channel type to discord.TextChannel * Changed join to humanize_list to display the streams list, split the message concatenation into two lines for better readability * Allow specifying discord channel for picarto and hitbox, fix style for youtube and twitch * Since token_name from streamtypes can be None on Picarto and Hitbox, I added an attribute to the Stream class to hold the platform name * Message now tells the user that the stream alert was disabled only for the specified channel. * Address review * fix style * Consistency! Sort of... Co-authored-by: douglas-cpp <douglasc.dev@gmail.com> Co-authored-by: Douglas <douglas.carvalho@edu.unipar.br> commit c1552dfe338706acbf5b6203db518175025a7cf9 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 9 19:34:12 2022 +0200 Make `--debuginfo` more like `[p]debuginfo` (#5662) commit b7e33649cfea66bf707f1cdbc41b03d38a4988d2 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Wed Apr 6 00:48:03 2022 +0200 Fix invalid version error with _get_version()-provided version (#5670) * Make sure that the repository we check is in the location we expect * Merge `redbot._version` into `redbot` * Generate VersionInfo in _get_version() This way, if VersionInfo.from_str() generates exception due to invalid version, we catch it. commit 7ecebf4dd201558799163a4e27fb5de3e24d8f32 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Tue Apr 5 22:33:43 2022 +0200 Suppress stderr in `_get_version()` (#5667) commit f094df49bcdd4c561a181736c3d34cafabe3d708 Author: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Sun Apr 3 03:31:53 2022 +0100 Remove caching and safety utilities (#5653) * Remove caching * Remove safety * Remove unused private usage commit aba5a0247ee4e06b2852138de2271e147bceae20 Author: TrustyJAID <TrustyJAID@gmail.com> Date: Sat Apr 2 20:27:24 2022 -0600 Fix AttributeError in new decorators added to requires (#5665) commit fec58ea1ade065949f0910f5379f7094344153ae Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Apr 3 03:51:34 2022 +0200 Include tag distance and commit hash in dev versions when possible (#5664) * Include tag distance and commit hash in dev versions when possible * Fix test commit 1b0fbf3386515bafa56ded180b8c40aaa6083832 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Apr 3 03:21:20 2022 +0200 Migration to discord.py 2.0 (#5600) * Temporarily set d.py to use latest git revision * Remove `bot` param to Client.start * Switch to aware datetimes A lot of this is removing `.replace(...)` which while not technically needed, simplifies the code base. There's only a few changes that are actually necessary here. * Update to work with new Asset design * [threads] Update core ModLog API to support threads - Added proper support for passing `Thread` to `channel` when creating/editing case - Added `parent_channel_id` attribute to Modlog API's Case - Added `parent_channel` property that tries to get parent channel - Updated case's content to show both thread and parent information * [threads] Disallow usage of threads in some of the commands - announceset channel - filter channel clear - filter channel add - filter channel remove - GlobalUniqueObjectFinder converter - permissions addglobalrule - permissions removeglobalrule - permissions removeserverrule - Permissions cog does not perform any validation for IDs when setting through YAML so that has not been touched - streamalert twitch/youtube/picarto - embedset channel - set ownernotifications adddestination * [threads] Handle threads in Red's permissions system (Requires) - Made permissions system apply rules of (only) parent in threads * [threads] Update embed_requested to support threads - Threads don't have their own embed settings and inherit from parent * [threads] Update Red.message_eligible_as_command to support threads * [threads] Properly handle invocation of [p](un)mutechannel in threads Usage of a (un)mutechannel will mute/unmute user in the parent channel if it's invoked in a thread. * [threads] Update Filter cog to properly handle threads - `[p]filter channel list` in a threads sends list for parent channel - Checking for filter hits for a message in a thread checks its parent channel's word list. There's no separate word list for threads. * [threads] Support threads in Audio cog - Handle threads being notify channels - Update type hint for `is_query_allowed()` * [threads] Update type hints and documentation to reflect thread support - Documented that `{channel}` in CCs might be a thread - Allowed (documented) usage of threads with `Config.channel()` - Separate thread scope is still in the picture though if it were to be done, it's going to be in separate in PR - GuildContext.channel might be Thread * Use less costy channel check in customcom's on_message_without_command This isn't needed for d.py 2.0 but whatever... * Update for in-place edits * Embed's bool changed behavior, I'm hoping it doesn't affect us * Address User.permissions_in() removal * Swap VerificationLevel.extreme with VerificationLevel.highest * Change to keyword-only parameters * Change of `Guild.vanity_invite()` return type * avatar -> display_avatar * Fix metaclass shenanigans with Converter * Update Red.add_cog() to be inline with `dpy_commands.Bot.add_cog()` This means adding `override` keyword-only parameter and causing small breakage by swapping RuntimeError with discord.ClientException. * Address all DEP-WARNs * Remove Context.clean_prefix and use upstream implementation instead * Remove commands.Literal and use upstream implementation instead Honestly, this was a rather bad implementation anyway... Breaking but actually not really - it was provisional. * Update Command.callback's setter Support for functools.partial is now built into d.py * Add new perms in HUMANIZED_PERM mapping (some from d.py 1.7 it seems) BTW, that should really be in core instead of what we have now... * Remove the part of do_conversion that has not worked for a long while * Stop wrapping BadArgument in ConversionFailure This is breaking but it's best to resolve it like this. The functionality of ConversionFailure can be replicated with Context.current_parameter and Context.current_argument. * Add custom errors for int and float converters * Remove Command.__call__ as it's now implemented in d.py * Get rid of _dpy_reimplements These were reimplemented for the purpose of typing so it is no longer needed now that d.py is type hinted. * Add return to Red.remove_cog * Ensure we don't delete messages that differ only by used sticker * discord.InvalidArgument->ValueError * Move from raw <t:...> syntax to discord.utils.format_dt() * Address AsyncIter removal * Swap to pos-only for params that are pos-only in upstream * Update for changes to Command.params * [threads] Support threads in ignore checks and allow ignoring them - Updated `[p](un)ignore channel` to accept threads - Updated `[p]ignore list` to list ignored threads - Updated logic in `Red.ignored_channel_or_guild()` Ignores for guild channels now work as follows (only changes for threads): - if channel is not a thread: - check if user has manage channels perm in channel and allow command usage if so - check if channel is ignored and disallow command usage if so - allow command usage if none of the conditions above happened - if channel is a thread: - check if user has manage channels perm in parent channel and allow command usage if so - check if parent channel is ignored and disallow command usage if so - check if user has manage thread perm in parent channel and allow command usage if so - check if thread is ignored and disallow command usage if so - allow command usage if none of the conditions above happened * [partial] Raise TypeError when channel is of PartialMessageable type - Red.embed_requested - Red.ignored_channel_or_guild * [partial] Discard command messages when channel is PartialMessageable * [threads] Add utilities for checking appropriate perms in both channels & threads * [threads] Update code to use can_react_in() and @bot_can_react() * [threads] Update code to use can_send_messages_in * [threads] Add send_messages_in_threads perm to mute role and overrides * [threads] Update code to use (bot/user)_can_manage_channel * [threads] Update [p]diagnoseissues to work with threads * Type hint fix * [threads] Patch vendored discord.ext.menus to check proper perms in threads I guess we've reached time when we have to patch the lib we vendor... * Make docs generation work with non-final d.py releases * Update discord.utils.oauth_url() usage * Swap usage of discord.Embed.Empty/discord.embeds.EmptyEmbed to None * Update usage of Guild.member_count to work with `None` * Switch from Guild.vanity_invite() to Guild.vanity_url * Update startup process to work with d.py's new asynchronous startup * Use setup_hook() for pre-connect actions * Update core's add_cog, remove_cog, and load_extension methods * Update all setup functions to async and add awaits to bot.add_cog calls * Modernize cogs by using async cog_load and cog_unload * Address StoreChannel removal * [partial] Disallow passing PartialMessageable to Case.channel * [partial] Update cogs and utils to work better with PartialMessageable - Ignore messages with PartialMessageable channel in CustomCommands cog - In Filter cog, don't pass channel to modlog.create_case() if it's PartialMessageable - In Trivia cog, only compare channel IDs - Make `.utils.menus.menu()` work for messages with PartialMessageable channel - Make checks in `.utils.tunnel.Tunnel.communicate()` more rigid * Add few missing DEP-WARNs commit 0b017f985678473a4e9bdf925e5b34140efa6998 Author: Kreusada <67752638+Kreusada@users.noreply.github.com> Date: Sat Apr 2 01:57:06 2022 +0100 Reference how to reply in the `[p]contact` command with embed settings (#5529) commit b0e781c423de7f4d98f76c72eaeb6d30ea2f6aa9 Author: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Sat Apr 2 01:37:44 2022 +0100 add timestamps to all audio embeds (#5632) commit 233d3a6d4d1e8099444865e1116721c73a428add Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Apr 2 01:44:30 2022 +0200 Use Guild.fetch_ban() over Guild.bans() (#5656) commit 360a820b7394e321b1e310efbba0c7289a80b820 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Thu Mar 31 15:12:31 2022 +0200 Ignore d.py's |coro| substitution in Sphinx (#5648) commit 9741d32874fdff5a3cf7468837a676022c8ee636 Author: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Thu Mar 31 11:40:29 2022 +0100 Fix an incorrect comparison in audio (#5643) Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com> commit 569f6d29bb68bb96a9fa956c70127b1edb813f2b Author: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Thu Mar 31 10:44:09 2022 +0100 Update Audio to use RLL 0.11.0rc0 (#5631) * Replace player.manager to player.node * Try using bot.is_closed instead of get_voice_ws. * Use Shard.is_closed instead of bot.is_closed. * Use RLL PR as dep. * Update audio to use add dep to https://github.com/Cog-Creators/Red-Lavalink/pull/122 * few thing missing * Missing `player.manager.node` -> `player.node` change * Update setup.cfg Co-authored-by: PredaaA <46051820+PredaaA@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 75c19c32efbd6a85f64fea65596c5d3f6f7a288b Author: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Mon Mar 28 16:23:30 2022 +0100 Audio changes (#5593) * Squash tested commits * remove the code jack is concerned about * Apply suggestions from code review * more log lines * more log lines * format * formatting * style(Rename Xms and Xmx mentions): Rename Xms and Xmx to more use friendly names - Change Xms to "Initial Heapsize" - Change Xmx to "Max Heapsize" Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com> commit 6d0c78cc55d163c00c18018c0118e7b1b53c7ef5 Author: TrustyJAID <TrustyJAID@gmail.com> Date: Tue Mar 22 14:04:45 2022 -0600 Fix embed requested in DMs (#5635) * Fix embed requested in DM's * Add documentation * black * Address comments * Unnecessary added line * Use correct channel on context * use correct var name * More review stuff commit 83b5652ae95f6441216975d8b2e33b5a56920687 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Tue Mar 22 18:06:46 2022 +0100 Reformat with Black 22.1.0 commit eca383bbb8b184969e673b9adaaf6c0dbd97e1e0 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Tue Mar 22 10:24:40 2022 +0100 Bump Black version to 22.1.0 commit cbdb3d031efffae933fab6ebc6c962bedd0ab8c6 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Mar 21 17:43:52 2022 +0100 Prefer home directory even for system users if it exists (#5022) commit be7461050a187c1b2df84182ff5b2684d7f07343 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Mar 21 17:24:46 2022 +0100 Switch from low-level loop.create_task and asyncio.ensure_future (#5626) * Switch from low-level loop.create_task and asyncio.ensure_future * Patch vendored discord.ext.menus to use modern APIs as well That ext is no longer maintained by Danny anyway so... * black commit f38caa8b4fd1808d2e00906b248da164607eebb1 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Mar 21 17:23:23 2022 +0100 Make decorator combining in Requires more consistent (#5625) * Allow combining bot_has_permissions() decos * Improve consistency for Requires.user_perms commit 1dd2ff620ee2de896c6f1367ca1d9b00b0e29a54 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Mar 21 17:23:09 2022 +0100 Set Red._color before login rather than in on_ready (#5627) commit f8d3dd692a9460d5f6b9b0d99e1f19fc929d4969 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Mar 21 17:22:55 2022 +0100 Support all Messageables in `bot.embed_requested()` (#5576) * Support all Messageables in bot.embed_requested * Update usage in core * Simplify [p]contact This couldn't be done before this change. I have also simplified getting embed color. * Make `True` the new default for `check_permissions` kwarg commit f69dbf39d0d345cc11126d6f51a649f64a72c388 Author: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Fri Mar 18 22:41:42 2022 +0000 Add and use Red-Commons library (#5624) * update RC dep * welp 100% tested * fix import * 120% tested * Call _early_init even earlier Not really in scope of this PR but the original was merged before I could share any feedback. * explicitly import getLogger Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit ce9aeeda10d77a22a33d4b0e8caa797ca993aaa4 Author: Leothelion <zkogdxdkur@p.monash.edu> Date: Sat Mar 19 08:52:25 2022 +1100 Update Kazakh Capital City Answer (#5599) commit 42cace46ac2068c6dd7b5cbf2959b4821700b7b3 Author: TrustyJAID <TrustyJAID@gmail.com> Date: Fri Mar 18 15:48:32 2022 -0600 Catch overflow errors for mutes time conversion (#5605) commit 7c8dd13ad2ab715d33046ba33f6a503206740978 Author: Kuro <83048873+Kuro-Rui@users.noreply.github.com> Date: Sat Mar 19 02:47:41 2022 +0700 [Downloader] Add argument to immediately reload or not (#5623) * Add argument to immediately reload or not * Style * More detailed (and clear) description * Better desc (ig) * plurality Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> commit 0cd1ef0c4427f4e20c51bd5fe497c7f89e020d79 Author: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Wed Mar 16 16:42:17 2022 +0000 Audio cleanup (#5618) * add different logging level callbacks for task exception logging * Add callback to tasks which didn't have them * The boring stuff - (apply .trace() and .verbose() to audio, stop using debug_exc_log, delete audio_logging.py) * Unsured import cleanup * use new lavalink method * return so it doesn't log this twice. * improve logging on main event handler commit da19113bd78dc948457f328ce2f4fb0a3218a84d Author: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Tue Mar 15 20:20:37 2022 +0000 Add a custom Logger class with both verbose and trace levels. (#5613) * rearrange commits * Update redbot/setup.py * change rich log level colours commit 24e1671d3c3eed6feba552f561a61eb8b9992b23 Author: GhOsT <79806064+Arman0334@users.noreply.github.com> Date: Sun Mar 6 20:48:48 2022 +0400 Fix formatting breaking with nested formatting utils in help (#5601) * Fix formatting breaking with nested formatters. * Remove useless f-strings * Revert formatting to the one before PR #5435 * One more small formatting revert Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 8d99706daa46c7ddd0fbb1aca2e3f4f5f64683fb Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Feb 28 18:08:16 2022 +0100 Ask if changes were tested in PR template (#5580) commit 18be92254d03a78d6076cb32f93281a15de1dfaf Author: TrustyJAID <TrustyJAID@gmail.com> Date: Mon Feb 28 08:57:59 2022 -0700 Fix grammar in uptime command (#5596) commit 8ec621e038d13e87a5879195e4172d61a3cdea28 Author: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Tue Feb 22 18:48:37 2022 -0800 Fix spelling error (#5588) commit 6323bf99b4ffe4061432e5b153b25382bd60883e Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Feb 21 16:21:59 2022 +0100 Update redgettext to version 3.4.2 (#5584) commit 2e5279a3aa83d206f7ab9adba9b1ab0567ab0adb Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Feb 21 16:10:58 2022 +0100 Update redgettext to version 3.4.1 (#5583) commit 8a353d66b11b082e6324066fe06a267bba8c8860 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Feb 21 15:56:33 2022 +0100 Update redgettext to version 3.4 (#5582) commit 0def1da297f71a9b2db843357de479d933e6ee0c Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Feb 20 22:52:58 2022 +0100 Avoid potential memory leak in Filter cog (#5578) commit 1863b80d83d4d64c53cd50b34cb8dcbee6e1936e Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Feb 20 22:42:56 2022 +0100 Avoid 'editing' message with no changes when case is created (#5577) commit 26d12c5588ec00b4045e67f81c855d624850b854 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Feb 20 22:01:40 2022 +0100 Update discord-ext-menus vendor to latest commit (#5579) Vendor `discord.ext.menus` from commit `fbb8803779373357e274e1540b368365fd9d8074` at Rapptz/discord-ext-menus commit e9030b678f2ed629150819bab608d80f8ae0e006 Author: crayyy_zee <65814383+i-am-zaidali@users.noreply.github.com> Date: Mon Feb 21 01:50:07 2022 +0500 Add typechecking to config from_id methods (#5564) * [config] Add typechecking for parameters * change instance check * Knew it, shouldnt have added these * black commit afe37c4baffe2329f8535eef69eefcedda42c329 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Feb 20 21:49:39 2022 +0100 Ensure that registered Config defaults are serializable to JSON (#5557) commit 6217fcba6660b33832d46e5cd7bf7b360b82ea6f Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Feb 20 21:48:59 2022 +0100 Fix number of cogs in Getting started doc after Bank cog removal (#5516) commit 090fba3a2d7a189a9348c6b9710558e110f95b95 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Wed Feb 16 18:47:22 2022 +0100 Emphasize lines with things to replace in autostart guides (#5548) * Emphasize lines with things to replace in autostart guides * Use 'default' pygments style instead commit a039904cca8081fe8c0636ef6c703e16a3dd7a07 Author: Dav <57032623+Dav-Git@users.noreply.github.com> Date: Wed Feb 16 01:25:21 2022 +0000 [Core/Core Cogs] Prevent translation errors and use formatting utils (#5435) * Use proper syntax for inline formatting in core_commands * use proper formating utils in core and core cogs wherever reasonable * tests are awesome * ensure "(continued)" is translated in help.py * add colons to translatable strings for easier context comprehension by translators * Thx flame :) Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * good point Co-authored-by: Dav <dav@mail.stopdavabuse.de> Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> commit 56dc8ba450ce44b9a7dd9598304eefae55e6dadb Author: Vexed <vex@vexcodes.com> Date: Sat Jan 29 17:30:15 2022 +0000 Remove specific number of steps in update docs (#5556) * change 4 to a few bc 4 is a lie * wait linux exists * Apply suggestions from code review Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit f9e333dc3e1b69652ff17a40aa982211ce45dff1 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sat Jan 29 17:16:44 2022 +0100 Disallow crawling of versioned documentation in robots.txt (#5549) commit 9d0be4173cd4d5547e8056f2231377b68c24dfc1 Author: Flame442 <34169552+Flame442@users.noreply.github.com> Date: Wed Jan 12 12:20:22 2022 -0500 [Audio] Fix UnboundLocalError in edge case (#5394) * Fix UnboundLocalError in edge case * Fix typehint for fetch * Style commit f4a0aae6aec8fb0f5e57e52e488a4f450f13215d Author: untir_l <87096069+untir-l@users.noreply.github.com> Date: Tue Jan 11 22:05:50 2022 +0530 Fix typo in Audio seek command description (#5530) commit 5281dfb79cec52d3720003f1992b6faaf010c502 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Jan 10 17:52:36 2022 +0100 Update copyright (#5526) commit ae745fa5199359d1afe36865180391e7587411be Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Mon Jan 10 17:52:20 2022 +0100 Update "copyright notice" for Dev cog (#5527) commit edc0633f8be8e6d22eabefec12d13e2bb484ca98 Author: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Tue Jan 4 16:52:15 2022 -0800 Fix formatting in error message about already installed cog (#5531) commit 24188f2db8eec68988b854d29fee37cfa7699bbb Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Fri Dec 31 19:08:06 2021 +0100 Red 3.4.16 - Changelog (#5520) * Red 3.4.16 - Changelog * Add contribs! commit 8980367ff2af84629b7dabf24833c1b56a9a7aff Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Fri Dec 31 03:13:00 2021 +0100 Red 3.4.15 - Changelog (#5504) * Red 3.4.15 - Changelog * Use stronger words * Add jar stuff * Add 5499 * Minor grammar stuff * add 5472 * Add 5452 * Add 5448 * Add date and contributors * Update docs/changelog_3_4_0.rst Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> * the other thing Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com> commit 84798da4ecb5f5c0256fb7842bf225ee982915e0 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Fri Dec 31 02:51:06 2021 +0100 Only check for permissions when `check_permissions` is True (#5510) commit b6dc6361ea976d4d7dc63ac72b700c3a6ceebef7 Author: Just-Jojo <62262765+Just-Jojo@users.noreply.github.com> Date: Thu Dec 30 20:22:29 2021 -0500 [Events] Rename guild remove listener (#5498) * [Events] on_guild_leave => on_guild_remove * [Events] on_guild_leave => on_guild_remove commit e3b6f93b5971fc16946c9f81ab1e5ead8c771088 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Fri Dec 31 02:08:18 2021 +0100 Add non-interactive mode to redbot-setup (#5448) * Simplify `redbot-setup backup` thanks to Click 8.0 * Add some of the missing type hints * Fix unnecessary new lines in `redbot-setup` and `redbot-setup delete` * Add default value for storage backend * Add non-interactive mode to `redbot-setup` commit 1ce121fb92c47b28e83f2fd9c90858b002891a72 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Fri Dec 31 02:01:23 2021 +0100 Make embeds in help output consistent (#5452) * Add `check_permissions` kwarg to `bot.embed_requested()` * Make embeds in help consistent regardless of why it's being sent commit 7fc425dc99fab563df020e9a323b09d86be8dca7 Author: Kowlin <Kowlin@users.noreply.github.com> Date: Fri Dec 31 01:39:39 2021 +0100 Ensure Nitro users can't make CCs that are too long (#5499) * Ensure Nitro users can't make CCs that are too long Co-authored-by: TrustyJAID <TrustyJAID@gmail.com> * Tox formatting * Update to account for edits and better handling of randoms Co-authored-by: TrustyJAID <TrustyJAID@gmail.com> commit e0cacaee0cb3d4a5aa0328c39f4a73350cbf3023 Author: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Thu Dec 30 16:16:28 2021 -0800 Update Lavalink.jar, Red-Lavalink and make changes to support it (#5474) * Lavalink error handling update * comment typo * address review * Update redbot/cogs/audio/core/events/lavalink.py * Bump jar version * Bump RLL version Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 0e6158011bfcb76d0e626c962acb14064aba5afa Author: GhOsT <79806064+Arman0334@users.noreply.github.com> Date: Fri Dec 31 01:31:01 2021 +0400 Fix short help in docstrings for core cogs and commands (#5502) * fix part of command description not appearing in the help command. * Add more Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit e2df0c77e34d2569932073a73f14cc08bbaf4184 Author: Flame442 <34169552+Flame442@users.noreply.github.com> Date: Wed Dec 29 18:46:36 2021 -0500 Prevent unexpected timedelta matches (#5393) * Prevent unexpected matches by asserting whitespace or eof at the end of matches * Use a positive lookahead instead of a capturing group to support 1d6h syntax * Use fullmatch instead of modifying regex strings commit 742480dfd1092edda03b9d873dc786dcb354e5aa Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Dec 26 22:04:36 2021 +0100 Allow mocking attachment-only msg, fix docstring, small refactor (#5446) * Use the logic from `[p]mock` in `[p]mockmsg`, fix docstring * Let people mock attachment-only messages * Use empty string, not None commit d71d04fb692940119d781bb148b3c60bc210517a Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Dec 26 21:50:54 2021 +0100 Remove old note about updating Red in Unix install guides (#5439) This was removed long ago from the Windows guide (#4119) but it seems like we never got around to removing it from Unix install guides as well. This note is rather inaccurate and the source of truth for updating Red is available in the Updating Red document. commit 80f4b43484cb5537b2108a88b71b76c54ec0d19b Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Dec 26 21:50:22 2021 +0100 Update supported OSes (add Alma Linux, RPi OS 11, drop EOL OSes) (#5440) * Drop Fedora 33 By the time we release, it's going to reach EOL. * Drop Raspberry Pi OS 10, add support for 11 * Bring RPi OS 10 back * Add Alma Linux 8 * Fix-up RHEL EOL dates * Add '(Legacy)' to Raspberry Pi OS 10 * Drop CentOS 8 commit 5942b7a62514c62d7d4f1ac3e2deb998c3eb3c27 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Dec 26 21:45:56 2021 +0100 Bump Python version in install guides to 3.9.9 (#5447) commit 148f1eab706635386efc68d189f28df60e6e0cb0 Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun Dec 26 21:12:23 2021 +0100 Add jack1142 as code owner of install/update guides (#5493) commit 60fbd2758f94b58d3911d6e916f3472191b4ca16 Author: Parnassius <Parnassius@users.noreply.github.com> Date: Sun Dec 26 19:09:37 2021 +0100 Make `emptydisconnect` disconnect when all vc members are bots (#5421) * [Audio] Disconnect from voice chat when every connected user is a bot * Update condition according to code review Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 2a3f0663c9fa390173ab2f7201906b6d0c3f86d8 Author: Stonedestroyer <1307729+Stonedestroyer@users.noreply.github.com> Date: Sat Dec 25 22:08:32 2021 +0100 Make invite URL part of public API (#5424) * Make invite URL public API * Add doc and RPC * Lint * Update redbot/core/core_commands.py Co-authored-by: Matt <psykzz@users.noreply.github.com> * Update redbot/core/bot.py Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> * RPC handling, * Fix appinfo * Change docs * Fix docs * Change docs * Update redbot/core/core_commands.py Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> * Docstring changes * nit Co-authored-by: Matt <psykzz@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 5c31664191d4cd27f304d65c94bb7ed509acc790 Author: Vexed <vex@vexcodes.com> Date: Sat Dec 25 20:11:48 2021 +0000 Fix RPC cog load and unload by returning dicts (#5453) * use dicts for CoreLogic package management returns * address review * failed_packages->notloaded_packages in _unload Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit e9e4a45bd586eea500f82b1650c4f1163dcc491a Author: Alex <58824393+vertyco@users.noreply.github.com> Date: Sat Dec 25 12:08:13 2021 -0500 Show role payday amounts in `economyset showsettings` (#5457) * [V3/develop] show RolePaydayAmounts in showsettings command * Update economy.py * Switch to using a list (nitpicky optimizations) https://docs.python.org/3/faq/programming.html#what-is-the-most-efficient-way-to-concatenate-many-strings-together * Mark the text as translatable Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 460c0eab06c4d626df067bd9474c3cf50ba93238 Author: Jan <sentrycraft123@gmail.com> Date: Sat Dec 25 17:34:02 2021 +0100 isolate direction of username within modlog (#5422) * isolate direction of username within modlog * Add link to Unicode's usage Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit e4a0c5e392e34f656376283c3f9c7635e9fbf34f Author: MAX <63972751+ltzmax@users.noreply.github.com> Date: Sat Dec 25 04:14:16 2021 +0100 [Core] Changed prefix length to `40`. (#5476) * Update core_commands.py * Docs yes facebook's metaverse *jokes on me* * meta * forgot here * Update core_commands.py * Forgot here * And forgot here commit 041e28d58f8d2c45789a49e639d45795ce70deeb Author: Toby Harradine <Tobotimus@users.noreply.github.com> Date: Sat Dec 25 13:19:18 2021 +1100 [Config] Add type-hints to _ValueContextManager methods (#5344) Without these type-hints, I've found that PyCharm misidentifies the returned type, causing a number of false positives in static type checking. commit 431e305bcf668561a96c3830dbec6e0cf2c6b869 Author: MAX <63972751+ltzmax@users.noreply.github.com> Date: Sat Dec 25 03:12:03 2021 +0100 Update host list with new locations for Hetzner and Contabo (#5475) commit ce58f68a57cef64dfb3683ebf034620c574e564a Author: Vexed <vex@vexcodes.com> Date: Sat Dec 25 02:02:44 2021 +0000 Fix issues with loading config.json when it doesn't exist (#5416) * 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 Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 89f0d16a8dec4135e9b591b1b7a486e2f06d4328 Author: aleclol <50505980+aleclol@users.noreply.github.com> Date: Fri Dec 24 20:04:33 2021 -0500 Add necessary None checks to Core's usage of `Requires.privilege_level` (#5477) * Check if it has a privilege level * Let's fix this in warnings too Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 2b60aab271c4cc84cb186aab273b5e9c552bbcbe Author: Ryan <yamikaitou@gmail.com> Date: Fri Dec 24 19:05:23 2021 -0500 [Docs] Correct set api examples to be consistent for Spotify (#5444) * consistant usage * switch audiodb to youtube Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit b397553eaf21ddd93344bb9112a13f4474a8542b Author: PredaaA <46051820+PredaaA@users.noreply.github.com> Date: Sat Dec 25 01:02:37 2021 +0100 Remove voice region field in [p]serverinfo (#5449) * [General] Remove guild region on serverinfo * Remove in string too. commit f383565057ea3df64b80d43a06f6f8cb12279a14 Author: Kreus Amredes <67752638+Kreusada@users.noreply.github.com> Date: Fri Dec 24 23:54:37 2021 +0000 Restrict `[p]cleanupset notify` to guild only (#5466) commit f93fdc1d9ef0558257a045d0064e15cd4e53e78b Author: krak3n <84792368+the-krak3n@users.noreply.github.com> Date: Sat Dec 25 05:21:17 2021 +0530 Add plural forms to the responses of `[p]leave` command (#5391) * 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 Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 58a1c92c7c42eb052c9748d771c83958d9d3b3e9 Author: sravan <miniclip1956@gmail.com> Date: Thu Dec 23 07:21:55 2021 +0530 [Mod] Typo in unban command (#5470) commit 2542286ce631812da6ab9c58f7535e47f4f8445c Author: Leet <36166244+L33Tech@users.noreply.github.com> Date: Wed Dec 22 20:48:05 2021 -0500 Update links to installation guides in README (#5426) * Update links to installation guides * Update Windows link This one redirects correctly but updated it anyways * Update all red-discordbot.readthedocs.io links to docs.discord.red commit 7c6a00e384d8debfad2818db3a38afefbfd894e2 Author: Kreus Amredes <67752638+Kreusada@users.noreply.github.com> Date: Sat Dec 11 14:57:05 2021 +0000 Remove Bank cog from labeler configuration (#5464) commit 6a554e3c2483d146d4d1b60e657fa826d6d7d37c Author: Kowlin <Kowlin@users.noreply.github.com> Date: Wed Dec 1 21:35:30 2021 +0100 Reorganize `[p]set` command group (#5432) * Reorganised Set command group * Moved custominfo * Tox styling * Make `set locale®ionalformat` groups work same as server subcommands * Use consistent method names for commands in `[p]set` group * Update command names in docstrings * Remove some weird rst formatting that bugs out my syntax highlighting * Add checks to some command groups * Update docs * oops * Minor fixes * Move `[p]set api` group and its subcommands to other command groups * Move `[p]set ownernotifications` group to other command groups * black reformat Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 638114aa4e05bb6179699e212ef21bea89082e46 Author: palmtree5 <3577255+palmtree5@users.noreply.github.com> Date: Thu Nov 25 00:06:30 2021 -0900 Move modlogset/bankset commands to core (#4486) * Move bankset and modlogset to core commands * Move prune over too * Finish moving prune * Move [p]economyset registeramount to [p]bankset registeramount * style fix * Fix circular import issue with another breaking change * Apparently I missed a conflict and git still let me commit... * Really git? * Rename RawUserIds -> RawUserIdConverter, improve documentation * Improve documentation of `is_owner_if_bank_global()` * MENTION_REGEX -> USER_MENTION_REGEX * Add 'bank.' prefix * Fix command examples in docstrings * Missing docstring change from `bankset prune` * Missing changes for commands in modlogset * Update docs * Remove duplicated info in `economyset showsettings` * Fix toctree in index.rst * Add command group prefixes to names of functions for bankset/modlogset * Remaining string updates due to command name changes * Ensure that the bank folder is actually gone Co-authored-by: palmtree5 <palmtree5+3577255@users.noreply.github.com> Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> commit 1f5ff36a932621247e15c1484e779e74e2b9f38d Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Fri Nov 5 12:18:23 2021 +0100 Stop fetching the messages when getting the cases in Modlog (#4977) * Use PartialMessage when Case is fetched from Config * Update docstring commit 1313088597288ea238591d8854b70d9145f444bf Author: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Wed Nov 3 18:11:46 20…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Supercedes #99 (Talked with @PredaaA who feels that making a new PR with theirs as a base would allow any changes requested to be more easily implemented by me, instead of me PRing changes to his branch)
This PR makes use of discord.VoiceProtocol instead of listening to socket_response event. Which will be useful for next discord.py major release where that event no longer exists unless you pass a parameter to Client.
But it also makes things more "cleaner", as it "bind" the Red Lavalink Player object to discord.Guild object (guild.voice_client).
Though it comes with several breaking changes, that might break on current implementations of Red-Lavalink (in the case of Red's audio it doesn't seems to be a lot).
Breaking changes:
player_manager.PlayerManager
no longer exists. The needed methods are now innode.Node
.Therefore
Player.manager
no longer exists too,node.Node
can be accessed instead. Node.player_manager too.voice_ws_func parameter is no longer needed to be passed in
node.Node
, and therefore theget_voice_ws
method has been removed too.player_manager.user_id
&player_manager.channel_finder_func
are removed.The
rest_api.reset_session
&rest_api.close
methods are removed.Fixes #98 & closes #97.
RESTClient now takes Player instead of Node as parameter.Player
inheritsRESTClient
so no need to passNode
/Player
toRESTClient
player_manager
module renamed toplayer
lavalink.initialize()
ws_port
positional arg renamed toport