diff --git a/src/events/guild-create.ts b/src/events/guild-create.ts index 38f6e6c..722b736 100644 --- a/src/events/guild-create.ts +++ b/src/events/guild-create.ts @@ -1,10 +1,4 @@ -import { - Guild, - TextChannel, - Message, - MessageReaction, - User, - ApplicationCommandData, +import {Guild, TextChannel, Message, MessageReaction, User, ApplicationCommandData, } from 'discord.js'; import emoji from 'node-emoji'; import pEvent from 'p-event'; diff --git a/tsconfig.json b/tsconfig.json index 28b7f7d..2970aa3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "lib": ["ES2019", "DOM"], "target": "es2018", - "module": "es2022", + "module": "ES2020", "moduleResolution": "node", "declaration": true, "outDir": "dist",