mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
don't check banphrase for commands stored in the database
This commit is contained in:
parent
a28af0449d
commit
03004d40e6
|
@ -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)
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue