Skip to content

Commit 491d07a

Browse files
committed
Update app.json
1 parent 1537298 commit 491d07a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ however, insignificant breaking changes do not guarantee a major version bump, s
2525
- Plugins will automatically be removed when it fails to load.
2626
- Moved all database-related activities to clients.py under MongoDBClient, with possible future hook for additional database support.
2727
- Deprecated `bot.plugin_db.get_partition` in favour of `bot.api.get_plugin_partition` (not final).
28+
- Deprecated `MONGO_URI` config var (but will keep support in the future) in favour of `CONNECTION_URI` and `DATABASE_TYPE`. Right now there is one supported database - "mongodb", which is the default.
2829

2930
### Fixed
3031

app.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@
1515
"description": "Comma separated user IDs of people that are allowed to use owner only commands. (eval).",
1616
"required": true
1717
},
18-
"MONGO_URI": {
19-
"description": "Mongo DB connection URI for self-hosting your data.",
18+
"CONNECTION_URI": {
19+
"description": "The connection URI for your database.",
2020
"required": true
2121
},
22+
"DATABASE_TYPE": {
23+
"description": "The type of your database. There is only one supported database at the moment - MongoDB (default).",
24+
"required": false
25+
},
2226
"LOG_URL": {
2327
"description": "The url of the log viewer app for viewing self-hosted logs.",
2428
"required": true

0 commit comments

Comments
 (0)