From: Eduardo Date: Thu, 28 Mar 2024 19:37:41 +0000 (+0100) Subject: added a bunch of sylph commands all going to the conversational part X-Git-Url: http://git.edufdez.es/?a=commitdiff_plain;h=1a7b7800a9c47dc444a4ae318d74ff35004856e3;p=sylphiette-bot.git added a bunch of sylph commands all going to the conversational part --- 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