prepare history scanner for images

This commit is contained in:
Klemek
2021-05-18 18:13:51 +02:00
parent b2858cca95
commit d5a3667cfb
4 changed files with 26 additions and 7 deletions
+3
View File
@@ -14,5 +14,8 @@ class RandomScanner(HistoryScanner):
def __init__(self):
super().__init__(help=RandomScanner.help())
def allow_message(self, *_) -> bool:
return True
def get_results(self, intro: str) -> List[str]:
return self.history.to_string(type="random")