GregSutcliffe / maubot-meetings

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

adjust bot response to links based on #45

Open MoralCode opened 2 months ago

MoralCode commented 2 months ago

from https://github.com/fedora-infra/matrix-bots/issues/21

I think it may be helpful to adjust the new multi-link detection response from the bot so that messages with one link still get the old style emoji react, but messages with multiple links get the separate message. This can help cut down on the bot unnecessarily re-posting links in meetings where one link per command is still the dominant usecase.

Would this be something that could be done by a first time contributor to the bot infrastructure (such as myself?)

GregSutcliffe commented 2 months ago

Hey, welcome @MoralCode!

I think it's possible - I can see elsewhere that you're getting familiar with the maubot framework, so that should help. The parsing code came from @ryanlerch, but I'm sure both of us could lend a hand with code review - if you get stuck, poke us in Matrix and we'll see if we can help.