diff --git a/kickbot/bot.py b/kickbot/bot.py index 6100f28..562ac2b 100644 --- a/kickbot/bot.py +++ b/kickbot/bot.py @@ -141,10 +141,10 @@ class KickBot(Plugin): kick_inactive_results = await self.database.fetch(kick_q, kick_days_ago) warn_inactive = [ row["mxid"] for row in warn_inactive_results ] or ["none"] kick_inactive = [ row["mxid"] for row in kick_inactive_results ] or ["none"] - await evt.respond(f"Users inactive for {self.config['warn_threshold_days']} days: \ - {', '.join(warn_inactive)}
\ - Users inactive for {self.config['kick_threshold_days']} days: \ - {', '.join(kick_inactive)}", \ + await evt.respond(f"Users inactive for {self.config['warn_threshold_days']} days:
\ + {'
'.join(warn_inactive)}
\ + Users inactive for {self.config['kick_threshold_days']} days:
\ + {'
'.join(kick_inactive)}", \ allow_html=True) #need to somehow regularly fetch and update the list of room ids that are associated with a given space diff --git a/maubot.yaml b/maubot.yaml index 2e77068..69c2907 100644 --- a/maubot.yaml +++ b/maubot.yaml @@ -1,6 +1,6 @@ maubot: 0.1.0 id: org.jobmachine.kickbot -version: 0.0.4 +version: 0.0.5 modules: - kickbot main_class: KickBot