Couchpotato Search

This commit is contained in:
2021-12-04 06:04:04 +00:00
parent 9af1dda45d
commit 229572be10
5 changed files with 66 additions and 89 deletions

View File

@ -14,6 +14,9 @@ func (tb *Bot) Handler() {
tb.Client.SendMessage(m.Chat.ID, "pong")
})
// telegram/couchpotato.go
tb.Bot.HandleMessage("/m", tb.couchpotatoSearch)
// telegram/sonar.go
tb.Bot.HandleMessage("/s", tb.sonarrSearch)
tb.Bot.HandleMessage("/admin sonarrStatus", tb.sonarrStatus)