feat(random): group the random pickers into a random module and add /gachabeta

/random, /wheelofnames, and /gacha move from misc into a new random module
with unchanged command names, so usage stats carry over. The new unlisted
/gachabeta takes the same input as /gacha and renders the toon-shaded beta
wish from /api/gachabeta on the same service, with the same text fallback.
This commit is contained in:
tiennm99 committed 2026-10-01 15:17:11 +07:00
1 parent 577c0e3a70
commit 11f458fee5
18 files changed
+493 -331

No files matched your search

+2
View File
@@ -31,6 +31,7 @@ import (
"github.com/tiennm99/miti99bot/internal/modules/loldle"
"github.com/tiennm99/miti99bot/internal/modules/misc"
"github.com/tiennm99/miti99bot/internal/modules/monkeyd"
"github.com/tiennm99/miti99bot/internal/modules/random"
"github.com/tiennm99/miti99bot/internal/modules/stats"
"github.com/tiennm99/miti99bot/internal/modules/sticker"
"github.com/tiennm99/miti99bot/internal/modules/stock"
@@ -92,6 +93,7 @@ func factories() map[string]modules.Factory {
return map[string]modules.Factory{
"util": util.New,
"misc": misc.New,
"random": random.New,
"amlich": amlich.New,
"monkeyd": monkeyd.New,
"wordle": wordle.New,