summary refs log tree commit diff
path: root/src/util/config/types/subconfigurations/limits/ratelimits/Route.ts
blob: 464670f25282c6c2cbe1057072d3a92c363d1381 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { AuthRateLimit } from "./Auth";
import { RateLimitOptions } from "./RateLimitOptions";

export class RouteRateLimit {
	guild: RateLimitOptions = {
		count: 5,
		window: 5
	};
	webhook: RateLimitOptions = {
		count: 10,
		window: 5
	};
	channel: RateLimitOptions = {
		count: 10,
		window: 5
	};
	auth: AuthRateLimit;
	// TODO: rate limit configuration for all routes
}