func handleConversation(chatId int64, text string) error {
var err error
+ rawCommand := text
+
// Clean up the text
text = removeCommand(text)
text = normaliceString(text)
switch {
case regexIssue.MatchString(text):
- err = manageIssueMessage(chatId, text)
+ // no chatID, TgRequestChannelID
+ err = manageIssueMessage(TgRequestChannelID, rawCommand)
return err
case regexRequest.MatchString(text):
- err = manageSerieRequest(chatId, text)
+ // no chatID, TgRequestChannelID
+ err = manageSerieRequest(TgRequestChannelID, rawCommand)
return err
}
}