A Discord bot that treats people as they should be treated.
- Clone the app locally
git clone https://github.com/davidvorona/patronizor-bot.git
- Install
npm
packages
npm install
- Add a
config/
folder with filesauth.json
andconfig.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"
}
- Create an empty
data/
directory in the project root
- Build the bot
npm run-script build
- Run the bot
npm start