fixmyrights / discord-bot

🤖 Discord Bot for the Right to Repair community.
BSD 2-Clause "Simplified" License
4 stars 4 forks source link

Add proper multi-server support #45

Open joaodforce opened 4 years ago

joaodforce commented 4 years ago

The current implementation of the BOT is not suitable to be used across multiple servers. The following topics should be addressed before it can do such thing:

finnbear commented 4 years ago

storing a separate database.json for each server would solve most of the issues. the file name could even be the server id.

j1mbl3s commented 4 years ago

storing a separate database.json for each server would solve most of the issues. the file name could even be the server id.

Could get even more granular and have a database.json per channel. Including DMs.

finnbear commented 4 years ago

storing a separate database.json for each server would solve most of the issues. the file name could even be the server id.

Could get even more granular and have a database.json per channel. Including DMs.

That would be good for DMs, but not for servers. Servers might like a legiscan output channel and a legiscan config channel.