%find command

This commit is contained in:
Klemek
2021-04-22 15:15:32 +02:00
parent fc5d9b82c1
commit 5f8dfce640
5 changed files with 112 additions and 2 deletions
+6
View File
@@ -68,6 +68,12 @@ bot.register_command(
"mobile: fix @invalid-user for last command but mentions users",
"```\n%mobile: fix @invalid-user for last command but mentions users\n```",
)
bot.register_command(
"find",
lambda *args: scanners.FindScanner().compute(*args),
"find: find specific words or phrases",
scanners.FindScanner.help(),
)
bot.register_command(
"last",
lambda *args: scanners.LastScanner().compute(*args),