Skip to content
Permalink
Browse files
remmembered to change the opus library to the one that works on windows
  • Loading branch information
peacoc17 committed Nov 6, 2018
1 parent 4744c57 commit 032ea75ee6f162c7a8c533a75790568b9cfbee92
Showing 1 changed file with 1 addition and 10 deletions.
@@ -18,18 +18,9 @@ client = commands.Bot(command_prefix=BOT_PREFIX)
extensions=["Fun","Music"]


"""def my_after(voice):
coro = voice.disconnect()
fut = discord.compat.run_coroutine_threadsafe(coro, client.loop)
try:
fut.result()
except:
pass"""


async def start(self):
"""loads the opus libraries so that it can output audio on voice channels"""
discord.libopus.so.load_opus(self.opus_library)
discord.opus.load_opus(self.opus_library)


# ahmed's

0 comments on commit 032ea75

Please sign in to comment.