diff --git a/request.go b/request.go index 77eaac1..4ef70a3 100644 --- a/request.go +++ b/request.go @@ -4,7 +4,6 @@ import ( "encoding/json" "errors" "io" - "log" "math/rand" "net/http" "strconv" @@ -34,10 +33,6 @@ func newRequest(w http.ResponseWriter, r *http.Request) (*requestInfo, error) { return request, nil } -func (request *requestInfo) logWarn(err error) { - log.Printf("[%v] %s", request.updateMessage.Chat.ID, err.Error()) -} - func (request *requestInfo) answer(message, parseMode string) { sendMessage(request.writer, request.updateMessage.Chat.ID, message, &request.updateMessage.ID, parseMode) }