GregSutcliffe / maubot-meetings

A Maubot plugin for running meetings in Matrix
Other
9 stars 5 forks source link

Move meetingname to a command #22

Closed GregSutcliffe closed 1 year ago

GregSutcliffe commented 1 year ago

Also implements the powerlevel check and uses a reaction to acknowledge (related to #13)

GregSutcliffe commented 1 year ago

Added a bit more, moved ^topic to !topic, and also improved the log_commands logic.

I was getting duplicates in the logs with log_commands:true because the "^\!" regex and the logging test were in the same if check. Also by implementing the logic in handle_topic correctly, we can simplify change_topic a lot

GregSutcliffe commented 1 year ago

After running into some more logic issues, I'm proposing we remove log_commands and just log everything anyway. We can improve the formatters to present the "clean" version without bot messages anyway, and then we get the best of both worlds.