update README for how to setup discord-bot
This commit is contained in:
@@ -10,6 +10,9 @@
|
|||||||
# Jarvis
|
# Jarvis
|
||||||
JARVIS_SERVER_MODE=true
|
JARVIS_SERVER_MODE=true
|
||||||
JARVIS_SERVER_MODE_PORT=10000
|
JARVIS_SERVER_MODE_PORT=10000
|
||||||
|
# If you use Jarvis through discord bot, you need to set JARVIS_SERVER_MODE=false
|
||||||
|
# and set JARVIS_BOT_SERVER_URL according to the discord's config.
|
||||||
|
JARVIS_BOT_SERVER_URL="http://localhost:10000"
|
||||||
|
|
||||||
# OpenAI/ChatGPT temperature
|
# OpenAI/ChatGPT temperature
|
||||||
JARVIS_AI_TEMPERATURE=0
|
JARVIS_AI_TEMPERATURE=0
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ Using Jarvis Discord Bot you can interact with Jarvis through Discord app on var
|
|||||||
- Copy and paste the previously obtained `Token` and `CLIENT ID` into the `.env.local` file.
|
- Copy and paste the previously obtained `Token` and `CLIENT ID` into the `.env.local` file.
|
||||||
- run `npm install`.
|
- run `npm install`.
|
||||||
- run `npm run start:bot`.
|
- run `npm run start:bot`.
|
||||||
|
|
||||||
|
NOTE: You need to set `JARVIS_SERVER_MODE=false` and `JARVIS_BOT_SERVER_URL="http://localhost:10000"` in the Jarvis's `.env` file
|
||||||
### Running the bot in docker
|
### Running the bot in docker
|
||||||
```
|
```
|
||||||
# build docker image
|
# build docker image
|
||||||
|
|||||||
Reference in New Issue
Block a user