Switched to OpusVoice
This commit is contained in:
1 parent
9f61462777
commit
93ec9ca2ec
1 file changed
+8
-6
+8
-6
@@ -196,6 +196,13 @@ else:
|
||||
elif ctx.voice_client.is_playing():
|
||||
ctx.voice_client.stop()
|
||||
|
||||
try:
|
||||
bot.loop.run_until_complete(bot.start(token=args.token, reconnect=True))
|
||||
except KeyboardInterrupt:
|
||||
bot.loop.run_until_complete(bot.close())
|
||||
finally:
|
||||
bot.loop.close()
|
||||
|
||||
"""
|
||||
@bot.event
|
||||
async def on_application_command_error(ctx, error):
|
||||
@@ -222,9 +229,4 @@ else:
|
||||
await ctx.send(embed=embed)
|
||||
"""
|
||||
|
||||
try:
|
||||
bot.loop.run_until_complete(bot.start(token=args.token, reconnect=True))
|
||||
except KeyboardInterrupt:
|
||||
bot.loop.run_until_complete(bot.close())
|
||||
finally:
|
||||
bot.loop.close()
|
||||
|
||||
Reference in new issue
Block a user