diff --git a/commands.ts b/commands.ts index 6cf7ca9..3784650 100644 --- a/commands.ts +++ b/commands.ts @@ -1,6 +1,5 @@ import type { Client, Message } from 'discord.js'; import fetch from 'node-fetch'; -import { POLYCAT_CHANNEL_ID } from './constants'; type Commands = { [cmd: string]: (c: Client, e: Message) => void | Promise; diff --git a/package.json b/package.json index 62d7a6c..c325e79 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "dev": "NODE_ENV=development nodemon --watch index.ts --exec esno index.ts", - "build": "esbuild index.ts --format=cjs --platform=node --target=node17 --minify --bundle --sourcemap --external:./node_modules/* --outdir=dist", + "build": "esbuild index.ts --format=cjs --platform=node --target=node17 --minify --bundle --sourcemap --external:./node_modules/discord.js --outdir=dist", "lint": "eslint **/*.ts" }, "dependencies": {