* 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>
* 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>
* 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
* 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
* 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
* 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>
* 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
* 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>
* 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>
* 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`
* 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>
* 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
* [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>
* 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>