extract links, delete incoming msg, add sender to reply
This commit is contained in:
9
bot/exception.py
Normal file
9
bot/exception.py
Normal 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}'
|
||||
Reference in New Issue
Block a user