Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 695 Bytes

README.md

File metadata and controls

41 lines (26 loc) · 695 Bytes

SaveDeezNotes

Installation

# Using Yarn
yarn install

# Using NPM
npm install

Usage

Setting environment variables

  1. Edit .env.example or if you're hosting it in Vercel, add these variables:

    • DISCORD_TOKEN - Your Discord bot's token
    • KEY - Your encryption key, could be anything
    • GUILD_ID - Server your bot should create and store notes
  2. Rename .env.example into .env (Ignore this if you're hosting it on Vercel)

Starting the server

If you are hosting this on Vercel, you can skip this part.

First build the project

yarn build

And start it

yarn start

Your application will be accessible from localhost:3000