cern-sis / issues

0 stars 0 forks source link

Create Zulip bot to randomly pick meeting host #70

Open karolina-siemieniuk-morawska opened 1 year ago

karolina-siemieniuk-morawska commented 1 year ago

It would be nice to have a bot to draw host for meetings like retrospective, innovation planning, etc.

karolina-siemieniuk-morawska commented 1 year ago

Repo: https://github.com/cern-sis/errbot-retromaster

karolina-siemieniuk-morawska commented 1 year ago

The bot is almost ready, but two issues are still to be resolved:

  1. Scheduling: I started implementing scheduling using ApScheduler library but it still creates errors when trying to install the plugin, because of incorrect usage of scheduler.shutdown() method in self.deactivate(). We need to shutdown scheduler in deactivate method in order to avoid the mistake I made previously when scheduler was still working and messages were being sent even after uninstalling the plugin.
  2. It would be nice to not only have the bot running by scheduler but to also be able to provoke it with a command. I added the @botcmd decorator to pick_retromaster member of Retromaster class but Errbot does not recognise it as it's command and I don't know why.
ParthS007 commented 1 year ago