From 06ab6c2f119a444c2d311a108938e490b5938c87 Mon Sep 17 00:00:00 2001 From: Vermium Sifell Date: Thu, 14 Apr 2022 20:09:28 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20use=20built-in=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/schedules/jobs/shopRoles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schedules/jobs/shopRoles.ts b/src/schedules/jobs/shopRoles.ts index 444786c..5945903 100644 --- a/src/schedules/jobs/shopRoles.ts +++ b/src/schedules/jobs/shopRoles.ts @@ -10,7 +10,7 @@ import guildSchema from "@schemas/guild"; export default async (client: Client) => { await shopRoleSchema?.find()?.then(async (shopRoles: any) => { - shopRoles?.map(async (shopRole: any) => { + shopRoles?.map(async (shopRole) => { const payed = new Date(shopRole?.lastPayed); const oneHourAfterPayed = payed?.setHours(payed?.getHours() + 1);