From 065e69360033f84127e87714bd0cf7f798413459 Mon Sep 17 00:00:00 2001 From: apmapmapm Date: Sun, 30 Jun 2024 13:35:49 +0800 Subject: [PATCH] grammar --- mastermelon/melon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mastermelon/melon.py b/mastermelon/melon.py index 1c233e7..1b5b04f 100644 --- a/mastermelon/melon.py +++ b/mastermelon/melon.py @@ -601,7 +601,7 @@ def is_valid_ip(ip: str) -> bool: # checks if a string is a valid IP address return bool(pattern.match(ip)) -@bot.command(description="Query if the IP address is banned in anyway. Automatically checks for subnet bans. MUST enter a full IP address.", +@bot.command(description="Query if the IP address is banned in any way. Automatically checks for subnet bans. MUST enter a full IP address.", help="", brief="Admin Mindustry Utility") @commands.has_any_role("Admin (Discord)", "Admin (Mindustry)") @@ -630,7 +630,7 @@ async def querybannedip(ctx, ipadd:str): if ip_in_question in ip : strr.append( f" `subnet-ban:{ip}` ") if len(strr)==0: - await ctx.send("IP address is not banned in anyway.") + await ctx.send("IP address is not banned in any way.") else: final_str = ", ".join(strr) await ctx.send(f"IP address found: {final_str}.\n To unban, use `subnet-ban remove XXX` or `unban XXX`")