-
Notifications
You must be signed in to change notification settings - Fork 115
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
Bot message to community admin to update solvers #314
Labels
Comments
doitwithnotepad
added a commit
to doitwithnotepad/lnp2pbot
that referenced
this issue
Aug 14, 2024
- Schedule a daily job at midnight to check for solvers using `node-schedule`. - Implement `checkSolvers(bot)` to send a message to the community admin if no solvers are found. - Increment the count of messages sent to the admin in the database. - Add logic to disable the community if no solvers are added after a specified number of notifications. Fixes lnp2pBot#314
Hi @grunch, I'll like to work on this, can you assign the issue to me? |
Opened #618 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create a cronjob where the bot send a message to the community admin letting him know that the community doesn't have solvers.
We need to increment in database the number of this messages sent to the admin, if the admin don't add at least one solver in
n
times, the community will be disabled.The text was updated successfully, but these errors were encountered: