Skip to content

Refactor src/reminders.rs

Andrew requested to merge signal9/flip-matrix-bot:reminders-refactoring into main

Some minor refactoring of src/reminders.rs. I took some liberties with removing some stuff which seemed to not be needed anymore, as well as added some basic tests.

FlipEventContent is a bit of a PITA to construct programmatically atm. I wonder if something could be done about that. Also I agree with clippy, a new method with 9 arguments is too complex. A builder pattern is due, IMO.

Merge request reports