add comments to reflect the recently realized and unintentional behavior of the ignore command

This commit is contained in:
William Kray 2022-06-28 13:43:19 -07:00
parent 7993face07
commit cd686033b4
2 changed files with 5 additions and 2 deletions

View File

@ -4,6 +4,8 @@ a maubot plugin that tracks the last message timestamp of a user across any room
generates a simple report.
supports simple threshold configuration and the option to also track "reaction" activity. you can also exempt
users from showing as "inactive" in the report by setting their ignore status.
users from showing as "inactive" in the report by setting their ignore status. this will be re-set when the user
becomes active again, so this is useful for someone who is going on an extended hiatus! also this is an accident
and will hopefully be a more permanent design in the future.
this plugin is nowhere near finished, please ignore until a release is properly cut.

View File

@ -83,7 +83,8 @@ class KickBot(Plugin):
await evt.reply("lol you don't have permission to do that")
@activity.subcommand("ignore", help="exclude a specific matrix ID from inactivity tracking")
@activity.subcommand("ignore", help="exclude a specific matrix ID from inactivity tracking until their next \
trackable event (temporary exemption from inactivity reporting)")
@command.argument("mxid", "full matrix ID", required=True)
async def ignore_inactivity(self, evt: MessageEvent, mxid: UserID) -> None:
if evt.sender in self.config["admins"]: