torontocrypto / borgil

Extensible network bot written in Node.js. Currently supports IRC and Telegram.
3 stars 6 forks source link

More robust database for plugins #41

Open saltire opened 6 years ago

saltire commented 6 years ago

Currently plugins just create their own nedb instances which save to flat files. Should move this functionality into core so any plugin can easily create database collections, and make sure these files will persist if the bot is running in the cloud.

Could have an option to use nedb and require a directory, or use something like MongoDB and require a connection string.