fix: Add Weather command mapping in BaseCommand

- Introduced a new mapping for the 'Weather' command to 'Wx_Command' in BaseCommand, clarifying the relationship between legacy and current command names.
- This change enhances command handling by ensuring that the new command structure is recognized while maintaining backward compatibility.
This commit is contained in:
agessaman
2026-01-31 09:31:21 -08:00
parent 01b3114f2c
commit 04560c436d
+1
View File
@@ -102,6 +102,7 @@ class BaseCommand(ABC):
'Hacker': 'Hacker_Command',
'Sports': 'Sports_Command',
'Stats': 'Stats_Command',
'Weather': 'Wx_Command', # wx command reads from [Wx_Command]; [Weather] is legacy
}
# Determine old and new section names