-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration & Usage
Willsr71 edited this page Feb 9, 2018
·
2 revisions
- Download the jar from https://ci.noxal.net/job/Jarvis/ or compile it
- Create a
configdirectory - Create
jarvis.jsonin the config directory - Paste in the example config file and modify it appropriately
- Run the command
java -jar jarvis.jar
{
"discord": {
"token": "a98s7ng987wt98c3834fvn98.c2345c.987asfdfpo8yn9op978ty07bntj",
"owners": [
"112587845968912384"
],
"statusMessageInterval": 60,
"statusMessages": [
"SyntaxError",
"NullPointerException",
"InterruptedException",
"401 Unauthorized",
"403 Forbidden",
"404 Not Found",
"406 Unacceptable",
"410 Gone",
"418 I'm a teapot",
"503 Servers on Fire"
],
"pinEmotes": [
"\uD83D\uDC4C",
"\uD83D\uDCCC",
"\uD83D\uDCCD"
]
},
"sql": {
"host": "db.example.com",
"database": "database",
"user": "user",
"password": "password"
},
"debug": false
}| Field | Description |
|---|---|
| discord - token | Discord Auth Token. You can acquire this by going to discordapp.com/developers/applications/me |
| discord - owners | Numerical ids of the owners of the bot |
| discord - statusMessageInterval | Interval in seconds to wait before picking a new status message |
| discord - statusMessages | Messages used as the "Playing" status of the bot |
| discord - pinEmotes | Emotes able to be used to autopin messages (SmashBot module) |
| sql - host | Host of the MySQL database |
| sql - database | Database to use |
| sql - user | User to use |
| sql - password | Password to use |
| debug | Whether to show debug messages |