mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[Audio] Fix llset secured (#6423)
This commit is contained in:
parent
5b21c89505
commit
5bbced5b0d
@ -124,7 +124,7 @@ class LavalinkSetupCommands(MixinMeta, metaclass=CompositeMetaClass):
|
|||||||
if meta[1]:
|
if meta[1]:
|
||||||
await ctx.send(
|
await ctx.send(
|
||||||
_(
|
_(
|
||||||
"Heap-size must be less than your system RAM, "
|
"Heap-size must be less than your system RAM. "
|
||||||
"You currently have {ram_in_bytes} of RAM available."
|
"You currently have {ram_in_bytes} of RAM available."
|
||||||
).format(ram_in_bytes=inline(sizeof_fmt(meta[0])))
|
).format(ram_in_bytes=inline(sizeof_fmt(meta[0])))
|
||||||
)
|
)
|
||||||
@ -250,7 +250,7 @@ class LavalinkSetupCommands(MixinMeta, metaclass=CompositeMetaClass):
|
|||||||
return await self.send_embed_msg(
|
return await self.send_embed_msg(
|
||||||
ctx,
|
ctx,
|
||||||
title=_("Setting Not Changed"),
|
title=_("Setting Not Changed"),
|
||||||
description=_("A port must be between 0 and 65535 "),
|
description=_("A port must be between 0 and 65535."),
|
||||||
)
|
)
|
||||||
await self.config.ws_port.set(port)
|
await self.config.ws_port.set(port)
|
||||||
await self.send_embed_msg(
|
await self.send_embed_msg(
|
||||||
@ -295,11 +295,14 @@ class LavalinkSetupCommands(MixinMeta, metaclass=CompositeMetaClass):
|
|||||||
title=_("Setting Changed"),
|
title=_("Setting Changed"),
|
||||||
description=_(
|
description=_(
|
||||||
"Unmanaged Lavalink node will no longer connect using the secured "
|
"Unmanaged Lavalink node will no longer connect using the secured "
|
||||||
"{secured_protocol} protocol and wil use {unsecured_protocol} instead .\n\n"
|
"{secured_protocol} protocol and will use {unsecured_protocol} instead.\n\n"
|
||||||
"Run `{p}{cmd}` for it to take effect."
|
"Run `{p}{cmd}` for it to take effect."
|
||||||
).format(p=ctx.prefix, cmd=self.command_audioset_restart.qualified_name),
|
).format(
|
||||||
|
p=ctx.prefix,
|
||||||
|
cmd=self.command_audioset_restart.qualified_name,
|
||||||
unsecured_protocol=inline("ws://"),
|
unsecured_protocol=inline("ws://"),
|
||||||
secured_protocol=inline("wss://"),
|
secured_protocol=inline("wss://"),
|
||||||
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
@command_llset.command(name="info", aliases=["settings"])
|
@command_llset.command(name="info", aliases=["settings"])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user