Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Find Command #301

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ShadowJonathan
Copy link
Contributor

This is a Find command from the Before Times, which im quickly just making a PR here for to at least give testament to it.

Basically, it would find users by regex given, and return which users it sees and knows about.

TODO:

  • Convert this to TSX format, this could do with a threadifier a-la rules command
  • Maybe make an addition to this, where it would also refer which rooms the user(s) are in? --rooms
  • Have a way to specify looking for protected and/or all rooms that draupnir can see, currently it just does protected rooms

@MTRNord
Copy link
Collaborator

MTRNord commented Mar 20, 2024

How is this different from the !draupnir rules matching <entity> command? 🤔

@ShadowJonathan
Copy link
Contributor Author

Since (iirc) that only matches which rules are currently active, and searching through that.

This would look and find users matching a certain regex, which can be useful for figuring out spambot kick/ban usernames before hitting that command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants