Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade bot to Discord.js v14 and TypeScript #70

Merged
merged 19 commits into from
Sep 30, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Run with ts-node
Mimickal committed Sep 9, 2023

Verified

This commit was signed with the committer’s verified signature.
Mimickal Mimi Mimic
commit 312b3b9157851d5bf9ddfd4dad9ff70542b46f39
2 changes: 1 addition & 1 deletion .replit
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
language = "nodejs"
run = "node ."
run = "npm run start:prod"
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
worker: node .
worker: npm run start:prod
279 changes: 278 additions & 1 deletion package-lock.json
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -13,11 +13,12 @@
"multimap": "^1.1.0",
"node-cache": "^5.1.2",
"sqlite3": "^4.2.0",
"ts-node": "^10.9.1",
"winston": "^3.3.3"
},
"scripts": {
"start": "node .",
"dev": "node . dev-config.json",
"start": "NODE_ENV=prod npx ts-node .",
"dev": "npx ts-node --logError . dev-config.json",
"knex": "npx knex --knexfile src/knexfile.js",
"register": "node src/register.js",
"test": "echo \"Error: no test specified\" && exit 1"