Fix voice in container
This commit is contained in:
3
bot.py
3
bot.py
@@ -47,6 +47,9 @@ last_loeh = 0
|
||||
config_load()
|
||||
bot = commands.Bot(command_prefix=config.get('prefix'))
|
||||
|
||||
if 'LIBOPUS' in os.environ and not len(os.environ['LIBOPUS']) == 0:
|
||||
discord.opus.load_opus(os.environ['LIBOPUS'])
|
||||
|
||||
|
||||
async def get_loeh(guild: discord.Guild) -> Optional[discord.Member]:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user