fix some formatting to make it easier to copy-paste lists of users

This commit is contained in:
William Kray 2022-08-20 18:51:32 -07:00
parent c8bc3ec584
commit 5bc0fd5cb2
2 changed files with 5 additions and 5 deletions

View File

@ -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"<b>Users inactive for {self.config['warn_threshold_days']} days:</b> \
{', '.join(warn_inactive)} <br>\
<b>Users inactive for {self.config['kick_threshold_days']} days:</b> \
{', '.join(kick_inactive)}", \
await evt.respond(f"<b>Users inactive for {self.config['warn_threshold_days']} days:</b><br /> \
{'<br />'.join(warn_inactive)} <br />\
<b>Users inactive for {self.config['kick_threshold_days']} days:</b><br /> \
{'<br />'.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

View File

@ -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