From d307d4dc4546b78d60aaa0d3b5272248c13eec94 Mon Sep 17 00:00:00 2001 From: EvolutionX-10 Date: Sat, 2 Sep 2023 06:12:08 +0000 Subject: [PATCH] style: run prettier Signed-off-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com> --- plugins/cooldown.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;