More commands

This commit is contained in:
2025-06-25 15:53:42 +02:00
parent 1eaef9f22f
commit e7a8cbc2a1
6 changed files with 381 additions and 1 deletions

24
commands/lenny.go Normal file
View File

@ -0,0 +1,24 @@
package commands
import (
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5"
)
type LennyCommand struct{}
func (l LennyCommand) Name() string {
return "lenny"
}
func (l LennyCommand) Help() string {
return "( ͡° ͜ʖ ͡°) Usage: /lenny"
}
func (l LennyCommand) Execute(update tgbotapi.Update, bot *tgbotapi.BotAPI) {
msg := tgbotapi.NewMessage(update.Message.Chat.ID, "( ͡° ͜ʖ ͡°)")
bot.Send(msg)
}
func init() {
Register(LennyCommand{})
}