summary refs log tree commit diff
path: root/src/util/config/types/subconfigurations/limits/ratelimits/Route.ts
blob: 6890699eefe439684fe00a3199cf63ea8afb78a6 (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 = new AuthRateLimit();
	// TODO: rate limit configuration for all routes
}