Discord bot written in TypeScript for a Node.js environment. The goal of this project is to create bot which will eventually be made generic for any server and configured entirely via json files rather than web interfaces or discord commands like many other bots. It should also provide a nice reusable set of single purpose functions which will be distributed as a library.
- Configure a .env file using the template included. (for developers use this private snippet Emma can give you access to https://gitlab.com/-/snippets/2041403)
- Build docker file and deploy to kubernetes
GCE kubernetes cluster
https://gist.github.com/tracker1/59f2c13044315f88bee9
eslint is the preferred linter https://www.robertcooper.me/using-eslint-and-prettier-in-a-typescript-project
https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping
https://stackoverflow.com/questions/61305578/what-typescript-configuration-produces-output-closest-to-node-js-14-capabilities https://fireship.io/snippets/hot-reload-node-typescript-server/ Migration tool https://github.com/airbnb/ts-migrate/tree/master/packages/ts-migrate
// Message schema - https://discord.com/developers/docs/resources/channel#message-object