mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-10-23 14:22:22 +00:00
fix: Update help text for commands to avoid truncation and tx issues
This commit is contained in:
1 parent
b50d02aee9
commit
ffdc906b22
3 files changed
+9
-9
No files matched your search
@@ -97,7 +97,7 @@ class AqiCommand(BaseCommand):
|
||||
|
||||
def get_help_text(self) -> str:
|
||||
region = self.default_state or self.default_country
|
||||
return f"Usage: aqi <city|neighborhood|city country|lat,lon|help> - Get AQI for city/neighborhood in {region}, international cities, coordinates, or pollutant help"
|
||||
return f"Usage: aqi <city|neighborhood|city country|lat,lon|help> - Get AQI for city/neighborhood in {region}, intl cities, coordinates, or help"
|
||||
|
||||
def can_execute(self, message: MeshMessage) -> bool:
|
||||
"""Check if this command can be executed with the given message.
|
||||
|
||||
Reference in new issue
Block a user