[Audio] Fix llset secured (#6423)

This commit is contained in:
aikaterna 2024-08-07 13:36:27 -07:00 committed by GitHub
parent 5b21c89505
commit 5bbced5b0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -124,7 +124,7 @@ class LavalinkSetupCommands(MixinMeta, metaclass=CompositeMetaClass):
if meta[1]:
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."
).format(ram_in_bytes=inline(sizeof_fmt(meta[0])))
)
@ -250,7 +250,7 @@ class LavalinkSetupCommands(MixinMeta, metaclass=CompositeMetaClass):
return await self.send_embed_msg(
ctx,
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.send_embed_msg(
@ -295,11 +295,14 @@ class LavalinkSetupCommands(MixinMeta, metaclass=CompositeMetaClass):
title=_("Setting Changed"),
description=_(
"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."
).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://"),
secured_protocol=inline("wss://"),
),
)
@command_llset.command(name="info", aliases=["settings"])