Files
tiennm99bot/internal/modules/amlich/amlich.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
630 B
Go

// Package amlich converts dates between dương lịch (the Gregorian calendar)
// and the Vietnamese âm lịch (lunisolar calendar): /amlich and /duonglich.
// Conversions are pure calendar math computed at UTC+7 — the offset the
// Vietnamese calendar is defined against.
package amlich
import (
"github.com/tiennm99/tiennm99bot/internal/modules"
)
// New is the module Factory. The module is stateless — pure calendar math with
// no store access — so Deps is unused.
func New(modules.Deps) modules.Module {
return modules.Module{
Commands: []modules.Command{
amlichCommand(),
duonglichCommand(),
},
}
}