A template Discord Bot made using @discord-interactions
and a fastify
webserver
You can either use degit to make a copy of the code without the existing git repo, or just create your own repo and use that.
npx degit ssMMiles/discord-interactions-node
After that, make sure to install dependencies using npm/yarn:
yarn install
Copy .env.example
into .env
and fill it with your bot's details, and you're set:
yarn run dev
> bot-template@1.0.3 start
> node dist/index.js
Listening for interactions on 0.0.0.0:8080