From a310394954cb78c13e2a78d28bf4e44da3c93976 Mon Sep 17 00:00:00 2001 From: bobloy Date: Mon, 22 Oct 2018 09:27:09 -0400 Subject: [PATCH] Correct description, `audioset notify` alert, unneeded lavaplayer line --- audiotrivia/audiotrivia.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/audiotrivia/audiotrivia.py b/audiotrivia/audiotrivia.py index 97ff456..d52838e 100644 --- a/audiotrivia/audiotrivia.py +++ b/audiotrivia/audiotrivia.py @@ -17,8 +17,8 @@ from .audiosession import AudioSession class AudioTrivia(Trivia): """ - Custom commands - Creates commands used to display text and adjust roles + Upgrade to the Trivia cog that enables audio trivia + Replaces the Trivia cog """ def __init__(self, bot: Red): @@ -90,10 +90,16 @@ class AudioTrivia(Trivia): return status = await self.audio.config.status() + notify = await self.audio.config.notify() if status: await ctx.send( - "I recommend disabling audio status with `{}audioset status`".format(ctx.prefix) + "It is recommended to disable audio status with `{}audioset status`".format(ctx.prefix) + ) + + if notify: + await ctx.send( + "It is recommended to disable audio notify with `{}audioset notify`".format(ctx.prefix) ) if not self.audio._player_check(ctx): @@ -110,7 +116,6 @@ class AudioTrivia(Trivia): lavaplayer = lavalink.get_player(ctx.guild.id) lavaplayer.store("channel", ctx.channel.id) # What's this for? I dunno - lavaplayer.store("guild", ctx.guild.id) await self.audio._data_check(ctx)