feat: modernize and harden bot deployment

This commit is contained in:
2026-08-13 18:31:06 +09:00
parent 09ccb03626
commit 061dbf0f3f
18 changed files with 698 additions and 1702 deletions
+18
View File
@@ -0,0 +1,18 @@
{
"tasks": {
"check": "deno fmt --check && deno lint && deno check src/index.ts && deno test",
"start": "deno run --allow-env=TOKEN,CLIENT_ID,CONFIG_PATH --allow-net=discord.com,gateway.discord.gg --allow-read=./config.json,/data/config.json --allow-write=.,/data src/index.ts"
},
"compilerOptions": {
"lib": ["deno.window"]
},
"imports": {
"@std/assert": "jsr:@std/assert@1.0.19",
"discord.js": "npm:discord.js@14.27.0"
},
"fmt": {
"lineWidth": 100,
"semiColons": true,
"singleQuote": false
}
}