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

Impossibility to detect when to do a proper cleanup #95

Closed
im-trisha opened this issue May 26, 2023 · 0 comments · Fixed by #96
Closed

Impossibility to detect when to do a proper cleanup #95

im-trisha opened this issue May 26, 2023 · 0 comments · Fixed by #96

Comments

@im-trisha
Copy link
Collaborator

As the title suggests, if (For example) the bot relies on a database, there isn't a way at the moment to do the proper cleanups (and so close the database)
So there should be something along the lines of

bot.onStop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant