This repository was archived by the owner on Aug 22, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 41
Home
Adam Pine edited this page May 18, 2021
·
10 revisions

discord.ts (@typeit/discord)
Create your discord bot by using TypeScript and decorators!
This module is an extension of discord.js, so the internal behavior (methods, properties, ...) is the same.
View other projects that use Discord.ts
Use npm or yarn to install @typeit/discord with discord.js:
npm i @typeit/discord discord.jsYour tsconfig.json should look like this:
{
"compilerOptions": {
"module": "commonjs",
"target": "es2017",
"noImplicitAny": false,
"sourceMap": true,
"outDir": "build",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"forceConsistentCasingInFileNames": true,
"lib": [
"es2017",
"esnext.asynciterable"
],
"moduleResolution": "node"
},
"exclude": [
"node_modules"
]
}