diff --git a/plugins/cooldown.ts b/plugins/cooldown.ts index 8b7d901..38ffd2e 100644 --- a/plugins/cooldown.ts +++ b/plugins/cooldown.ts @@ -44,7 +44,7 @@ export class ExpiryMap extends Map { public readonly expiry: number; constructor( expiry: number = Infinity, - iterable: [K, V][] | ReadonlyMap = [] + iterable: [K, V][] | ReadonlyMap = [], ) { super(iterable); this.expiry = expiry; @@ -64,7 +64,7 @@ export const map = new ExpiryMap(); function parseCooldown( location: CooldownLocation, - cooldown: CooldownString + cooldown: CooldownString, ): Cooldown { const [actions, seconds] = cooldown.split("/").map((s) => Number(s)); @@ -112,7 +112,7 @@ function add( | [CooldownLocation | keyof typeof CooldownLocation, CooldownString] | Cooldown >, - message?: CooldownResponse + message?: CooldownResponse, ) { const raw = items.map((c) => { if (!Array.isArray(c)) return c;