Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 668 Bytes

README.md

File metadata and controls

53 lines (37 loc) · 668 Bytes

patronizor-bot

A Discord bot that treats people as they should be treated.

Setup

  1. Clone the app locally
git clone https://github.com/davidvorona/patronizor-bot.git
  1. Install npm packages
npm install
  1. Add a config/ folder with files auth.json and config.json to the root

auth.json:

{
    "TOKEN": "YOUR_TOKEN"
}

config.json:

{
    CLIENT_ID: "YOUR_CLIENT_ID",
    GUILD_ID: "YOUR_GUILD_ID",
    OPENAI_API_KEY: "yourApiKey",
    DATA_DIR: "./data"
}
  1. Create an empty data/ directory in the project root

Usage

  1. Build the bot
npm run-script build
  1. Run the bot
npm start