mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-08-27 21:10:13 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user