ArmandBriere/Archy

Make Froge of the Day identical for all servers

ArmandBriere opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Right now we have one scheduler per server on Google cloud, we want the same scheduler for the whole bot with only one Froge of the Day

Describe the solution you'd like

  • Add the scheduler to terraform
  • Modify frogeOfTheDay to read the server id from terraform
  • Add a checker to see if the server wants the froge
  • Add a field for the channel id in firestore
  • Generate a single froge and publish it to pubsub
  • Add unit tests and clean the python code of Froge of the Day