Skip to content

Commit

Permalink
Update audio to use add dep to Cog-Creators/Red-Lavalink#121
Browse files Browse the repository at this point in the history
  • Loading branch information
Drapersniper committed Apr 2, 2022
1 parent 631160c commit f45170b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion redbot/cogs/audio/core/commands/llset.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ async def command_llsetup_wsport(
This command sets the connection port which Audio will use to connect to an external Lavalink node.
"""
if port < 0 or port > 65535:
if port < 0:
port = None
elif port > 65535:
return await self.send_embed_msg(
ctx,
title=_("Setting Not Changed"),
Expand Down

0 comments on commit f45170b

Please sign in to comment.