stop dc interacting with repeat (#3426)

This commit is contained in:
Draper 2020-01-23 22:05:50 +00:00 committed by Michael H
parent 1755334124
commit 0a8e7f5663

View File

@ -705,7 +705,6 @@ class Audio(commands.Cog):
msg += _("Auto-disconnection at queue end: {true_or_false}.").format(
true_or_false=_("Enabled") if not disconnect else _("Disabled")
)
await self.config.guild(ctx.guild).repeat.set(not disconnect)
if disconnect is not True and autoplay is True:
msg += _("\nAuto-play has been disabled.")
await self.config.guild(ctx.guild).auto_play.set(False)