Migrate to TypeScript, minor changes and fixes (#46)
* docs: linting, require bun for ts * rf: js -> ts * chore: bump * docs: add ts badge * chore: bump types * fix: add types for context to animal commands * [m] hf: add bot type * fix/types: add bot, ctx types, fix emoji on /dice cmd, add todo * fix/types: bot admin checking fixes, other misc fixes, add types --------- Co-authored-by: Lucas Gabriel <lucmsilva651@gmail.com>
This commit is contained in:
parent
6fd5652afa
commit
07045d8e09
32 changed files with 550 additions and 325 deletions
|
@ -1,12 +1,13 @@
|
|||
{
|
||||
"scripts": {
|
||||
"start": "nodemon src/bot.js"
|
||||
"start": "nodemon src/bot.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@dotenvx/dotenvx": "^1.28.0",
|
||||
"axios": "^1.7.9",
|
||||
"@dotenvx/dotenvx": "^1.41.0",
|
||||
"@types/node": "^22.15.2",
|
||||
"axios": "^1.9.0",
|
||||
"node-html-parser": "^7.0.1",
|
||||
"nodemon": "^3.1.7",
|
||||
"nodemon": "^3.1.10",
|
||||
"telegraf": "^4.16.3",
|
||||
"winston": "^3.17.0"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue