-
Notifications
You must be signed in to change notification settings - Fork 1
Setup
tectrainguy edited this page Feb 11, 2023
·
5 revisions
node.js and npm are required. Install them here.
Once these are installed, run these commands:
git clone https://github.com/tecdude/TheSwift.git
cd TheSwift
npm i
nano config.json
Now we need to create a config file for API keys:
config.json structure:
{ "token": "", "clientId": "", "OPENAI_API_KEY": "", "SO_KEY": "" }
Get the Token and Client ID from Discord Developers
For SO Key (Stack Overflow) and OpenAI, search online for how to get API keys.
You need a local MongoDB database named 'warns'. Use their guide for the most up-to-date guidance.