extract links, delete incoming msg, add sender to reply

This commit is contained in:
Michael Korobkov
2024-11-07 19:27:37 +00:00
committed by Olly Hearn
parent d453168457
commit 24844ea787
6 changed files with 446 additions and 7 deletions

9
bot/exception.py Normal file
View File

@ -0,0 +1,9 @@
class UrlRemoverNotImplementedException(Exception):
def __init__(self, domain: str):
self.__base_message = "Url remover for domain not implemented"
self.domain = domain
super().__init__(self.__base_message)
def __str__(self):
return f'{self.__base_message}: {self.domain}'