Update audiotrivia.py

pull/64/head
Ianardo DiCaprio 6 years ago committed by GitHub
parent 7e7b4a638d
commit 334b77db7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -88,14 +88,20 @@ class AudioTrivia(Trivia):
if session is not None:
await ctx.send("There is already an ongoing trivia session in this channel.")
return
guild = ctx.guild
status = await self.audio.config.status()
notify = await self.audio.config.guild(guild).notify()
if status:
await ctx.send(
"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):
try:
if not ctx.author.voice.channel.permissions_for(

Loading…
Cancel
Save