Essem
40223ec8b5
* Load commands recursively * Sort commands * Missed a couple of spots * missed even more spots apparently * Ported commands in "fun" category to new class-based format, added babel eslint plugin * Ported general commands, removed old/unneeded stuff, replaced moment with day, many more fixes I lost track of * Missed a spot * Removed unnecessary abort-controller package, add deprecation warning for mongo database * Added imagereload, clarified premature end message * Fixed docker-compose path issue, added total bot uptime to stats, more fixes for various parts * Converted image commands into classes, fixed reload, ignore another WS event, cleaned up command handler and image runner * Converted music/soundboard commands to class format * Cleanup unnecessary logs * awful tag command class port * I literally somehow just learned that you can leave out the constructor in classes * Pass client directly to commands/events, cleaned up command handler * Migrated bot to eris-sharder, fixed some error handling stuff * Remove unused modules * Fixed type returning * Switched back to Eris stable * Some fixes and cleanup * might wanna correct this * Implement image command ratelimiting * Added Bot token prefix, added imagestats, added running endpoint to API
56 lines
1.7 KiB
JSON
56 lines
1.7 KiB
JSON
{
|
|
"name": "esmbot",
|
|
"version": "1.4.6",
|
|
"description": "A Discord bot with miscellaneous features",
|
|
"main": "app.js",
|
|
"engines": {
|
|
"node": ">=15"
|
|
},
|
|
"scripts": {
|
|
"build": "node-gyp configure build -j max",
|
|
"docker:build-api": "docker build -t esmbot-api -f Dockerfile.api .",
|
|
"docker:build-ss": "docker build -t headless-chrome-alpine --no-cache ./utils/screenshot",
|
|
"docker:run-api": "docker run --rm --network=host esmbot-api",
|
|
"docker:run-ss": "docker run --rm --network=host --shm-size=128m headless-chrome-alpine",
|
|
"docker:run-lava": "docker run --rm --network host -v \"$(pwd)\"/application.yml:/opt/Lavalink/application.yml -v \"$(pwd)\"/assets:/opt/Lavalink/assets fredboat/lavalink:dev",
|
|
"start": "node app.js"
|
|
},
|
|
"author": "Essem <essem@essem.space>",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/esmBot/esmBot.git"
|
|
},
|
|
"dependencies": {
|
|
"cowsay2": "^2.0.4",
|
|
"dayjs": "^1.10.4",
|
|
"dotenv": "^8.2.0",
|
|
"duckduckgo-images-api": "^1.0.5",
|
|
"emoji-regex": "^9.2.2",
|
|
"eris": "^0.15.0",
|
|
"eris-sharder": "^1.10.0",
|
|
"file-type": "^16.1.0",
|
|
"jsqr": "^1.3.1",
|
|
"lavacord": "^1.1.9",
|
|
"node-addon-api": "^3.1.0",
|
|
"node-emoji": "^1.10.0",
|
|
"node-fetch": "^2.6.1",
|
|
"qrcode": "^1.4.4",
|
|
"sharp": "^0.26.3",
|
|
"topgg-autoposter": "^1.1.9"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/eslint-parser": "^7.13.8",
|
|
"@babel/eslint-plugin": "^7.13.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
|
"eslint": "^7.23.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"bufferutil": "^4.0.1",
|
|
"erlpack": "github:abalabahaha/erlpack",
|
|
"mongoose": "^5.11.8",
|
|
"pg": "^8.5.1",
|
|
"uuid": "^8.3.1",
|
|
"zlib-sync": "^0.1.6"
|
|
}
|
|
}
|