Skip to content

xenogew/discord-typescript-bot

 
 

Repository files navigation

discord-typescript-bot

Configuration

In src/config/ add a config.ts file that looks like this:

export let config = {
  "token": "djigoj24gijo-dgj9wdfj",  // Discord bot token.
  "prefix" : "./" // Command prefix.
};

Building the bot

npm install # Install deps.
npm run-script build # Build the code.

Running the bot

npm run-script build && npm run-script run

Testing the bot

TODO: Make this work.

npm run-script test

About

Bootstrap Discord NodeJS bot written in TypeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.9%
  • JavaScript 3.1%