refactor: explicit return types on all public functions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
8d93abf36d
commit
7de503a487
@@ -22,7 +22,7 @@ const RANKED_TIMEOUT_MS = 60_000
|
||||
const rankedCooldowns = new Map<string, number>()
|
||||
const COOLDOWN_MS = 15_000
|
||||
|
||||
export function setRankedCooldown(botId: string) {
|
||||
export function setRankedCooldown(botId: string): void {
|
||||
rankedCooldowns.set(botId, Date.now() + COOLDOWN_MS)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user