Use this repository as a starting point for your mini-interaction Discord app.
- Clone the repo and install dependencies:
npm install - Create your
.envfrom.env.example, then fill in the values you need
- Register commands:
npm run registerto loaddist/commands/**.js - Run build to build
distfolder - Run
vercel --prodto connect your repository on vercel to run your app
- Install the Vercel CLI once:
npm install -g vercel - Log in and link this project:
vercel loginthenvercel link - Sync environment variables:
vercel env pull(optional, but keeps CLI and dashboard in sync) - Deploy:
vercel --prod
That’s it—your template is ready for Vercel-powered Discord App.
Note
It is easier to do all of these on Vercel. All you have to import your repository and add env.