added a bunch of sylph commands all going to the conversational part
authorEduardo <[email protected]>
Thu, 28 Mar 2024 19:37:41 +0000 (20:37 +0100)
committerEduardo <[email protected]>
Thu, 28 Mar 2024 19:37:41 +0000 (20:37 +0100)
telegram.go

index 1a36def827e9bf832ddcd44bfe381bc9525be0be..4dc91080780f075543cd3a8c37fa0f8ed659b4d6 100644 (file)
@@ -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