diff --git a/utils/httputil/errors.go b/utils/httputil/errors.go index a9cfb8c..3013759 100644 --- a/utils/httputil/errors.go +++ b/utils/httputil/errors.go @@ -47,7 +47,7 @@ type HTTPError struct { func (err HTTPError) Error() string { switch { - case err.Errors != "": + case err.Errors != nil: return fmt.Sprintf("Discord %d error: %s: %s", err.Status, err.Message, err.Errors) case err.Message != "":