From ab0c96b33f3ced64f495680669b8e9f6cdf3e9cf Mon Sep 17 00:00:00 2001 From: "Benjamin A. Shelton" Date: Fri, 23 Oct 2026 21:29:01 -0600 Subject: [PATCH] Added `birthdays weekly` and `birthdays today` commands. --- cmd/bot/main.go | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/cmd/bot/main.go b/cmd/bot/main.go index b29b57a..a4da95c 100644 --- a/cmd/bot/main.go +++ b/cmd/bot/main.go @@ -43,6 +43,36 @@ func main() { }, }, Commands: []*cli.Command{ + { + Name: "birthdays", + Description: "Birthday management", + Commands: []*cli.Command{ + { + Name: "weekly", + Description: "Lists the weekly birthdays for this week.", + Action: cmdHost.Birthdays().ListWeeklyBirthdays, + Flags: []cli.Flag{ + &cli.Int64Flag{ + Name: "chatid", + Aliases: []string{"c"}, + Usage: "Specifies the chat ID. Required.", + }, + }, + }, + { + Name: "today", + Description: "Lists birthdays for today.", + Action: cmdHost.Birthdays().ListTodaysBirthdays, + Flags: []cli.Flag{ + &cli.Int64Flag{ + Name: "chatid", + Aliases: []string{"c"}, + Usage: "Specifies the chat ID. Required.", + }, + }, + }, + }, + }, { Name: "chats", Description: "Chats management",