You can now customize the default message
This commit is contained in:
parent
904e4955a8
commit
b2ab72d4b0
5 changed files with 76 additions and 20 deletions
|
|
@ -9,6 +9,8 @@ logging.basicConfig(level=logging.INFO, format=logging_format)
|
|||
data_dir: str = user_data_dir(appname="discord_rss_bot", appauthor="TheLovinator", roaming=True)
|
||||
os.makedirs(data_dir, exist_ok=True)
|
||||
|
||||
default_custom_message: str = "{{entry_title}}\n{{entry_link}}"
|
||||
|
||||
|
||||
def get_webhook_for_entry(custom_reader: Reader, entry: Entry) -> str:
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue