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

Allow running without Redis #35

Open
i-am-gizm0 opened this issue Jan 4, 2022 · 0 comments
Open

Allow running without Redis #35

i-am-gizm0 opened this issue Jan 4, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@i-am-gizm0
Copy link
Contributor

Is your feature request related to a problem? Please describe.
If a Redis connection cannot be established for any reason, we should be able to still run the other functions of the bot.

Describe the solution you'd like
Maybe instead of immediately panicking that a connection cannot be established, check that we have a redis connection and if not, 1) set the bot's status to reflect that leveling is disabled, 2) give an error message if people try to use leveling commands

Describe alternatives you've considered
none

Additional context
panic because redis could not connect

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