Type alias RestManagerEvents
RestManagerEvents: {
error(req, res) => void;
ratelimit(ratelimit) => void;
request(request) => void;
}
Type declaration
-
error:function
- error(req, res): void
-
Returns void
-
ratelimit:function
- ratelimit(ratelimit): void
-
Parameters
-
ratelimit: RequestOptions & {
responseHeaders: Record<string, string>;
}
Returns void
-
request:function
- request(request): void
-
Returns void