You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add either an envvar or commandline argument to start the bot without the database.
This should make it easier to test the bot locally when the database isn't being used.
The text was updated successfully, but these errors were encountered:
An idea: write a decorator for commands which marks them as requiring the DB, then stop the bot from registering these commands on startup.
e.g. instead of using the usual @plugin.include hook, write a custom one which will not register the command if it requires the db and the bot is being run without the db.
Add either an envvar or commandline argument to start the bot without the database.
This should make it easier to test the bot locally when the database isn't being used.
The text was updated successfully, but these errors were encountered: