mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-08 04:08:56 -05:00
[Audio] Fix architecture blacklisting (#2634)
This commit is contained in:
parent
476f441c9b
commit
bb6327d969
@ -100,7 +100,7 @@ class Audio(commands.Cog):
|
||||
async def cog_before_invoke(self, ctx):
|
||||
if self.llsetup in [ctx.command, ctx.command.root_parent]:
|
||||
pass
|
||||
elif self._connect_task.cancelled:
|
||||
elif self._connect_task.cancelled():
|
||||
await ctx.send(
|
||||
"You have attempted to run Audio's Lavalink server on an unsupported"
|
||||
" architecture. Only settings related commands will be available."
|
||||
@ -143,7 +143,7 @@ class Audio(commands.Cog):
|
||||
continue
|
||||
except asyncio.CancelledError:
|
||||
log.exception("Invalid machine architecture, cannot run Lavalink.")
|
||||
break
|
||||
raise
|
||||
else:
|
||||
host = await self.config.host()
|
||||
password = await self.config.password()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user