From 04560c436d080fe18d3ccbf3443018d4af8c78fb Mon Sep 17 00:00:00 2001 From: agessaman Date: Sat, 31 Jan 2026 09:31:21 -0800 Subject: [PATCH] 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. --- modules/commands/base_command.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/commands/base_command.py b/modules/commands/base_command.py index cde4a55..044c364 100644 --- a/modules/commands/base_command.py +++ b/modules/commands/base_command.py @@ -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