Files
tiennm99bot/internal/modules/random/random.go
T
tiennm99 7008a57cf5 refactor!: rebrand miti99bot to tiennm99bot
BREAKING CHANGE: the Go module path is now github.com/tiennm99/tiennm99bot,
the default sticker pack is stickers_by_<bot username>, and the health body,
deploy DM, User-Agents and image names say tiennm99bot.
2026-10-07 15:14:02 +07:00

21 lines
699 B
Go

// Package random groups the commands that pick one option at random: /random
// (plain text pick), /wheelofnames (wheel GIF when a renderer is configured),
// /gacha (card-pack wish MP4), and the unlisted /genshin (Genshin-style meteor
// wish MP4). The animated commands share the optional renderer service and
// fall back to a text reply without it.
package random
import "github.com/tiennm99/tiennm99bot/internal/modules"
// New is the module Factory. The commands keep no state, so deps is unused.
func New(_ modules.Deps) modules.Module {
return modules.Module{
Commands: []modules.Command{
randomCommand(),
wheelOfNamesCommand(),
gachaCommand(),
genshinCommand(),
},
}
}