don't check banphrase for commands stored in the database

This commit is contained in:
lyx0 2023-12-19 19:37:26 +01:00
parent a28af0449d
commit 03004d40e6
2 changed files with 2 additions and 2 deletions

View file

@ -369,7 +369,8 @@ func (app *application) handleCommand(message twitch.PrivateMessage) {
if err != nil {
return
}
reply = r
go app.SendNoBanphrase(target, r)
return
}
if reply != "" {
go app.Send(target, reply, message)

View file

@ -29,7 +29,6 @@ func (app *application) commandsRoute(w http.ResponseWriter, r *http.Request, ps
text = strings.Join(cs, "")
fmt.Fprintf(w, fmt.Sprint(text))
}
func (app *application) channelCommandsRoute(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {