DracoD
Convex Community5mo ago
2 replies
Draco

Discord bot

Hi, I'm tryna build an app that syncs stuff to my discord bot for roles, are there any specific things i should keep in mind like compilation settings, tsconfig stuff? Here's the current tsconfig I'm using

{
  "compilerOptions": {
    "target": "ES2022",
    "module": "CommonJS",
    "moduleResolution": "node",
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "strict": true,
    "skipLibCheck": true,
    "forceConsistentCasingInFileNames": true,
    "outDir": "./dist",
    "rootDir": "./src",
    "declaration": true,
    "declarationMap": true,
    "sourceMap": true
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules", "dist"]
}


Also just to be clear, i should be using the convex node http client right? Or the sync one?
Was this page helpful?