Skip to content

Commit

Permalink
Update cogs/checkip.py
Browse files Browse the repository at this point in the history
Co-authored-by: Zortos <[email protected]>
  • Loading branch information
JoshuaSlui and zortos293 authored Jun 30, 2023
1 parent 32b9e93 commit 7d3cf6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/checkip.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self, bot: Bot):
async def checkip(self, ctx, address):
address = check_ip(address)
if not address:
return await ctx.respond("Please provide a valid Aternos IP.")
return await ctx.respond("Please provide a valid Aternos IP.", ephemeral=True)
nip = address.split(".")[0]
if len(nip) > 20 or len(nip) < 4:
return await ctx.respond(f"Aternos IPs must contain between 4 to 20 characters. You have {len(nip)}/20 characters.", ephemeral=True)
Expand Down

0 comments on commit 7d3cf6f

Please sign in to comment.