Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add proper multi guild (discord server) support #9

Open
optimumtact opened this issue Aug 31, 2020 · 0 comments
Open

Add proper multi guild (discord server) support #9

optimumtact opened this issue Aug 31, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@optimumtact
Copy link
Owner

DB should be stored in a map per discord server.

Add in a layer for
TGDB.get_api_with_context(ctx) that returns a TGapi object that is prepopulated with
the message context (from the bot) and the db server for that discord.

The api layer should host all TGDB convenience functions that wrap the tables, and allow calling SQLalchemy direct queries against the db.

@optimumtact optimumtact added the enhancement New feature or request label Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant