From 41205fb2f4bed4d931360c9f232a321b98549dcd Mon Sep 17 00:00:00 2001 From: agessaman Date: Sun, 7 Sep 2025 15:26:01 -0700 Subject: [PATCH] added prefix command to check usage of prefixes and list free prefixes --- modules/commands/prefix_command.py | 4 ++-- requirements.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/commands/prefix_command.py b/modules/commands/prefix_command.py index 6a06780..b83fa69 100644 --- a/modules/commands/prefix_command.py +++ b/modules/commands/prefix_command.py @@ -252,7 +252,7 @@ class PrefixCommand(BaseCommand): if not free_prefixes: return "āŒ No free prefixes found (all 254 valid prefixes are in use)" - response = f"šŸ†“ **Available Prefixes** ({len(free_prefixes)} shown):\n" + response = f"šŸ†“ Available Prefixes ({len(free_prefixes)} shown):\n" # Format as a grid for better readability for i, prefix in enumerate(free_prefixes, 1): @@ -266,7 +266,7 @@ class PrefixCommand(BaseCommand): if len(free_prefixes) % 5 != 0: response += "\n" - response += f"\nšŸ’” Use 'prefix ' to check if a prefix is available" + response += f"\nšŸ’” Generate a key for a specific prefix at https://gessaman.com/mc-keygen" return response diff --git a/requirements.txt b/requirements.txt index abc126b..f5928d0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,3 +10,4 @@ pyephem>=4.1.4 geopy>=2.3.0 maidenhead>=1.4.0 pytz>=2023.3 +aiohttp>=3.8.0