Feat: renotify bot btn and handler
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user