[Audio] Improve help string for [p]audioset emptydisconnect (#3051)

* enhance(audio): improve help string for [p]audioset emptydisconnect

* chore(changelog): add towncrier entry
This commit is contained in:
jack1142 2019-11-23 00:59:38 +01:00 committed by Michael H
parent ec834a0666
commit bc5c2513f6
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Improved explanation in help string for ``[p]audioset emptydisconnect``.

View File

@ -1000,7 +1000,7 @@ class Audio(commands.Cog):
@audioset.command() @audioset.command()
@checks.mod_or_permissions(administrator=True) @checks.mod_or_permissions(administrator=True)
async def emptydisconnect(self, ctx: commands.Context, seconds: int): async def emptydisconnect(self, ctx: commands.Context, seconds: int):
"""Auto-disconnection after x seconds while stopped. 0 to disable.""" """Auto-disconnect from channel when bot is alone in it for x seconds. 0 to disable."""
if seconds < 0: if seconds < 0:
return await self._embed_msg(ctx, _("Can't be less than zero.")) return await self._embed_msg(ctx, _("Can't be less than zero."))
if 10 > seconds > 0: if 10 > seconds > 0: