summary refs log tree commit diff
path: root/src/util/config/types/subconfigurations/limits/GlobalRateLimits.ts
blob: 4029abbe9c3acc202922c3a38cd6e3f374cd39f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
export class GlobalRateLimits {
	register: GlobalRateLimit = { limit: 25, window: 60 * 60 * 1000, enabled: true };
	sendMessage: GlobalRateLimit = { limit: 200, window: 60 * 1000, enabled: true };
}

export class GlobalRateLimit {
	limit: number = 100;
	window: number = 60 * 60 * 1000;
	enabled: boolean = true;
}