diff --git a/redbot/cogs/audio/audio.py b/redbot/cogs/audio/audio.py index 5e4c1c8b4..92f1108e6 100644 --- a/redbot/cogs/audio/audio.py +++ b/redbot/cogs/audio/audio.py @@ -14,7 +14,7 @@ from .manager import shutdown_lavalink_server _ = Translator("Audio", __file__) -__version__ = "0.0.6" +__version__ = "0.0.6a" __author__ = ["aikaterna", "billy/bollo/ati"] @@ -1625,7 +1625,7 @@ class Audio: await self._embed_msg(ctx, "Server password set to {}.".format(password)) @llsetup.command() - async def restport(self, ctx, rest_port): + async def restport(self, ctx, rest_port: int): """Set the lavalink REST server port.""" await self.config.rest_port.set(rest_port) if await self._check_external(): @@ -1638,9 +1638,9 @@ class Audio: await self._embed_msg(ctx, "REST port set to {}.".format(rest_port)) @llsetup.command() - async def wsport(self, ctx, ws_port): + async def wsport(self, ctx, ws_port: int): """Set the lavalink websocket server port.""" - await self.config.rest_port.set(ws_port) + await self.config.ws_port.set(ws_port) if await self._check_external(): embed = discord.Embed( colour=ctx.guild.me.top_role.colour,