* new code
Added the admin check to warnings and removed the part where the user could check themselves.
Added new mywarns which replaces part of the old behaviour of warn
* Update warnings.py
* Create 2900.enhance.rst
* Fixed command name
Because appearently I can't remember a command for 10 seconds
* Commands in backticks
Put command names in changelog in double backticks after being advised to do so in discord
* made user not optional, and the other thing sinbad requested
* switched parts. magic
resolves#2900
* Add a command to toggle daily queues, and restrict playlist length to 10k tracks and try to avoid some blocking calls
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Add a command to toggle daily queues, and restrict playlist length to 10k tracks and try to avoid some blocking calls
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* indents
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* *sigh* forgot single tracks
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* formatting plus some other fixes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* formatting plus some other fixes
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Be quieter in expected cases
* lets put this in the log file
* inline description use because setuptools entrypoint scripts are dumb
* Another setuptools entrypoint related issue
* maybe don't crash the bot on tasks
* improve the handling a bit more + document some of the lower level bits from the perspective of 'why?'
* Adding myself to codeowners on this one
* Let's not clobber our exit code
* And, there we go
* finish that thought
* right, I bumped the python version for (part of) this
* Update redbot/__main__.py
Co-Authored-By: jack1142 <6032823+jack1142@users.noreply.github.com>
* Okay, we should be good now
* correct exit code enum use
* cosmetic
* minor fix for linux and ctrl+c
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
* Update downloader.py
* Update json_mixins.py
* Update installable.py
* changelog pt 1
* changelog pt2
* edit of changelog pt1
* edit of changelog pt 2 (last commit before review)
* Kidding, this is the last one before review.
* Add a limited of 500 to the Visible queue and somce asyncio sleep every n tracks to assist with queue loading so it stops being blocking
* add a text for queue
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* chore
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* add asyncio sleep on playlist queue command
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* Better error handling for large playlists
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* remove files even if it errors
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
* feat(downloader): add `[p]cog reinstallreqs` command
* enhance: clear lib folder on minor Python version change
* chore(changelog): add towncrier entries
* enhance: warn user about detected change in OS or arch
* enhance: use actual prefix instead of `[p]`
* Whoops...
Co-Authored-By: Michael H <michael@michaelhall.tech>
* enhance: wrap message sending in try except
Co-authored-by: Michael H <michael@michaelhall.tech>
* enhance: add `Red.wait_until_red_ready()` for post connection startup
* enhance: fill `bot.owner_id` in our `on_ready`
* enhance: log missing destinations in `get_owner_notification_destinations`
* chore(changelog): add towncrier entries
* chore(changelog): use past form of verb "add"