bot icon indicating copy to clipboard operation
bot copied to clipboard

Add cronjob to notify admin about missing solvers (#314)

Open doitwithnotepad opened this issue 1 year ago • 4 comments

  • 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 #314

doitwithnotepad avatar Aug 14 '24 12:08 doitwithnotepad

Hi @doitwithnotepad when it has to check if there are solvers it shows this in the logs : error: Unhandled Rejection: TypeError: checkSolvers is not a function

It should now, 28360d2fa3adc9294df24bc2f3b94581eb290e3b.

doitwithnotepad avatar Aug 14 '24 21:08 doitwithnotepad

Hi @doitwithnotepad which is the status of this PR? are you able to finish it?

grunch avatar Aug 29 '24 20:08 grunch

Hi @doitwithnotepad, are you able to finish this PR? The issue #314 is on the reward board , if you don't finish it, we should allow another dev to do it, and move it to status: looking for dev, what do you think?

Catrya avatar Oct 22 '24 18:10 Catrya

I can't do it right now, maybe later, sorry for the delay in answering.

doitwithnotepad avatar Oct 28 '24 08:10 doitwithnotepad

close in favor #618

Catrya avatar Feb 25 '25 21:02 Catrya