mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-08 10:22:31 -05:00
Polish and more checks during configuration
This commit is contained in:
@@ -245,7 +245,7 @@ class Audio:
|
||||
self.current = -1
|
||||
self.music_player.stop()
|
||||
await asyncio.sleep(1)
|
||||
await self.bot.voice.disconnect()
|
||||
if self.bot.voice: await self.bot.voice.disconnect()
|
||||
|
||||
@commands.command(name="queue", pass_context=True, no_pm=True) #check that author is in the same channel as the bot
|
||||
async def _queue(self, ctx, link : str=None):
|
||||
|
||||
@@ -19,7 +19,8 @@ class Trivia:
|
||||
async def trivia(self, ctx, list_name : str=None):
|
||||
"""Start a trivia session with the specified list
|
||||
|
||||
Stop parameter will end the current session
|
||||
trivia stop - Ends the current session
|
||||
trivia - Shows trivia lists
|
||||
"""
|
||||
message = ctx.message
|
||||
if list_name == None:
|
||||
|
||||
Reference in New Issue
Block a user