feat(thoitiet): add today, tomorrow, and 7-day weather commands

This commit is contained in:
tiennm99 committed 2026-10-01 10:28:10 +07:00
1 parent 4607ae5f14
commit f748d34095
11 files changed
+956

No files matched your search

+4
View File
@@ -94,6 +94,10 @@ func TestCommandDiscovery_AllPublicCommandsHaveSafeMetadata(t *testing.T) {
"stock_sell": "<quantity> <ticker>",
"stock_cash_dividend": "<vnd_per_share> <ticker>",
"stock_share_dividend": "<ratio(owned:new)> <ticker>",
"thoitiet": "[location...]",
"thoitiethomnay": "[location...]",
"thoitietngaymai": "[location...]",
"thoitiettuannay": "[location...]",
"trongtruonghop": "[target...]",
"tth": "[target...]",
"wheelofnames": "<option,...>",
+2
View File
@@ -34,6 +34,7 @@ import (
"github.com/tiennm99/miti99bot/internal/modules/stats"
"github.com/tiennm99/miti99bot/internal/modules/sticker"
"github.com/tiennm99/miti99bot/internal/modules/stock"
"github.com/tiennm99/miti99bot/internal/modules/thoitiet"
"github.com/tiennm99/miti99bot/internal/modules/util"
"github.com/tiennm99/miti99bot/internal/modules/wordle"
"github.com/tiennm99/miti99bot/internal/server"
@@ -103,6 +104,7 @@ func factories() map[string]modules.Factory {
sticker.CollectionName: sticker.New,
"alias": alias.New,
"blacklist": blacklist.New,
"thoitiet": thoitiet.New,
}
}