Dr-Nekoma / neko-bot

A discord bot for Dr.Nekoma's server written in Go
1 stars 1 forks source link

Add dumb database functionality #3

Open EduardoLR10 opened 1 year ago

EduardoLR10 commented 1 year ago

To fully realize the open-source potential of neko-bot, we will have to add the capability of using a dumb database with the only purpose of being there for external developers, outside of the DrN organization. Currently, we only have internal developers working on neko-bot, but, in order to expand to full open source, it will be mandatory to have this feature.

This was noticed by issue #2.

EduardoLR10 commented 1 year ago

This issue will require extra creativity, given that neko-bot was designed to have DrN's server as the interface. To fully remove this requirement, something like profiles would go a long way. When in the development profile, another interface would be used (such as another terminal) and the contributor would not have to know about the server at all.

This, however, will not be a trivial swap because all the functions that dispatch to Discord would have to be replaced when in a different profile. Maybe Golang has a built-in mechanism to do such behavior.