From 1a7b7800a9c47dc444a4ae318d74ff35004856e3 Mon Sep 17 00:00:00 2001 From: Eduardo Date: Thu, 28 Mar 2024 20:37:41 +0100 Subject: [PATCH] added a bunch of sylph commands all going to the conversational part --- telegram.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/telegram.go b/telegram.go index 1a36def..4dc9108 100644 --- a/telegram.go +++ b/telegram.go @@ -115,8 +115,12 @@ func handleCommand(chatId int64, command string) error { case "/help": err = sendTelegramMessage(chatId, "Currently my only comands are /start, /help and /sylph\n I'm a work in progress, please don't tease me.") - case "/sylph": - err = sendTelegramMessage(chatId, "Hola!") + case "/s", + "/sylph", + "/sylphi", + "/sylphie", + "/sylphiette": + err = handleConversation(chatId, text) } return err -- 2.30.2