This commit is contained in:
Ryan Cao 2022-06-04 15:09:35 +08:00
parent 35331b783e
commit a3d28e9e73
No known key found for this signature in database
GPG key ID: 528A2C1B6656B97F
2 changed files with 1 additions and 2 deletions

View file

@ -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<void>;

View file

@ -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": {