From 7fc081de8706e905d98c6c14e2827d44a0f70a3f Mon Sep 17 00:00:00 2001 From: bobloy Date: Mon, 24 Sep 2018 16:36:11 -0400 Subject: [PATCH] Audio Status warning enabled --- audiotrivia/audiotrivia.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/audiotrivia/audiotrivia.py b/audiotrivia/audiotrivia.py index 63d0c92..f1d325f 100644 --- a/audiotrivia/audiotrivia.py +++ b/audiotrivia/audiotrivia.py @@ -29,7 +29,7 @@ class AudioTrivia(Trivia): self.audioconf.register_guild( delay=30.0, - repeat=True + repeat=True, ) @commands.group() @@ -90,6 +90,11 @@ class AudioTrivia(Trivia): await ctx.send("There is already an ongoing trivia session in this channel.") return + status = await self.audio.config.status() + + if status: + await ctx.send("I recommend disabling audio status with `{}audioset status`".format(ctx.prefix)) + if not self.audio._player_check(ctx): try: if not ctx.author.voice.channel.permissions_for(ctx.me).connect or self.audio._userlimit(