Files
toho-miku/package.json
Jan Groß f1e01f2a9f API: Add experimental Json API
in preparation for external healthchecks and the
admin backend. We define a couple test routes:

- / List all routes
- /ping Replies pong for online-checks
- /stats Get high-level bot statistics
- /most-recent-drop Returns the most recent entry from dropHistories

The last two routes require a valid apikey header.
All routes are prefixed by /api/v1
2023-04-05 12:00:46 +02:00

29 lines
674 B
JSON

{
"name": "bandbot",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "nodemon --inspect=0.0.0.0:9229 index.js",
"import": "node import.js"
},
"author": "",
"license": "ISC",
"dependencies": {
"@discordjs/rest": "^0.3.0",
"axios": "^0.27.2",
"body-parser": "^1.20.2",
"discord-api-types": "^0.37.2",
"discord.js": "^14.0.0",
"dotenv": "^16.0.0",
"express": "^4.18.2",
"mysql2": "^2.3.3",
"nanoid": "^3.0.0",
"nodemon": "^2.0.15",
"sequelize": ">=6.28.1",
"sequelize-cli": "^6.4.1",
"sharp": "^0.30.7"
}
}