Extend commands
This commit is contained in:
@@ -5,6 +5,7 @@ from disnake import FFmpegPCMAudio
|
||||
|
||||
async def play_audio(audio, bot, vc):
|
||||
if not bot.voice_clients:
|
||||
logger.info(audio)
|
||||
logger.error(f'Playing: {audio}')
|
||||
await sleep(1)
|
||||
vp = await vc.connect()
|
||||
|
||||
Reference in New Issue
Block a user