This project was created to help understand Typescript/node while building a functional discord bot.
-
install node.
-
once set up check out this repo
-
Navigate to the root location of the project and run
-
Set up a discord application here
-
Set up a .env file with the values for your server, and your bot log in
npm installHighly recommend using the visual studio code IDE.
as the start script and the sb script suggest the www file starts up the node http server and only has a basic shell config. app.ts handles most of the heavy lifting by initializing all of the needed files for start up including discordLogin.ts. From there each router/or service should be fairly self contained.
Most funtionality comes form the Discord intergration with light Twitch/Alexa intergration.
Running the bot in a persistent way.
npm run sbPersonal forking and expleration is welcome.