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

Bot message to community admin to update solvers #314

Open
grunch opened this issue Jul 7, 2022 · 5 comments · May be fixed by #563 or #618
Open

Bot message to community admin to update solvers #314

grunch opened this issue Jul 7, 2022 · 5 comments · May be fixed by #563 or #618

Comments

@grunch
Copy link
Member

grunch commented Jul 7, 2022

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.

@grunch grunch moved this to Looking for dev in Developer Rewards ⚡👩‍💻 Sep 22, 2022
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
@Catrya Catrya moved this from 👨‍💻 Looking for dev to 📝 In Progress in Developer Rewards ⚡👩‍💻 Aug 14, 2024
@Catrya Catrya moved this from 📝 In Progress to 👨‍💻 Looking for dev in Developer Rewards ⚡👩‍💻 Oct 28, 2024
@Anyitechs
Copy link

Hi @grunch, I'll like to work on this, can you assign the issue to me?

@Anyitechs
Copy link

Thank you @grunch. I want to build on top #563 to fix all review feedbacks, complete and test the feature. Is that a good idea?

@Catrya Catrya moved this from 👨‍💻 Looking for dev to 📝 In Progress in Developer Rewards ⚡👩‍💻 Dec 19, 2024
@grunch
Copy link
Member Author

grunch commented Dec 19, 2024

Thank you @grunch. I want to build on top #563 to fix all review feedbacks, complete and test the feature. Is that a good idea?

yeah give it a look, it might help, it is important to let you know that all new code should be added on typescript

@Anyitechs
Copy link

Thank you @grunch. I want to build on top #563 to fix all review feedbacks, complete and test the feature. Is that a good idea?

yeah give it a look, it might help, it is important to let you know that all new code should be added on typescript

Got it. Thanks!

@Anyitechs
Copy link

Opened #618

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📝 In Progress
3 participants