Feat: renotify bot btn and handler

This commit is contained in:
Grail Finder
2025-06-13 19:37:17 +03:00
parent 4d45a886d2
commit bddaa912de
5 changed files with 32 additions and 6 deletions

View File

@ -260,3 +260,12 @@ func HandleGiveClue(w http.ResponseWriter, r *http.Request) {
return
}
}
func HandleRenotifyBot(w http.ResponseWriter, r *http.Request) {
fi, err := getFullInfoByCtx(r.Context())
if err != nil {
abortWithError(w, err.Error())
return
}
notifyBotIfNeeded(fi)
}