Files
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
595 B
Go

// Package util implements /info, /help, /stickerid — the framework-validating
// "always on" module. /help is a pure renderer over the registry; the other
// two are debug helpers.
package util
import (
"github.com/tiennm99/tiennm99bot/internal/modules"
)
// New is the module Factory. /help closes over deps.Registry so it renders
// the fully built registry at call time; the other handlers need no Deps.
func New(deps modules.Deps) modules.Module {
return modules.Module{
Commands: []modules.Command{
infoCommand(),
helpCommand(deps.Registry),
stickerIDCommand(),
},
}
}