Cleanup [p]volume and fix infinite retrying in autoplay (#5045)

* This PR depends on Part 2 due to new store value

- cleanup of [p]volume
- a fix for infinite retrying

* update `[p]volume` help

* Update controller.py

* Update redbot/cogs/audio/core/commands/controller.py

meh still hardcoded in RLL .. will be removed in 0.9

Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>

* Update redbot/cogs/audio/core/commands/controller.py

Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
Draper
2021-05-17 10:38:30 +01:00
committed by GitHub
parent 54e5307307
commit 1efcabada1
2 changed files with 10 additions and 19 deletions

View File

@@ -200,6 +200,7 @@ class AudioEvents(MixinMeta, metaclass=CompositeMetaClass):
await asyncio.sleep(0.1)
if tries > 1000:
return
tries += 1
if notify_channel and not player.fetch("autoplay_notified", False):
if (