format_helper module¶
Contains functions to help with formatting data.
-
format_helper.format_message(source_name, source_url, quotes)¶ Formats data as message for sending.
- Args:
- quotes: an array containing string quotes source_name: string denoting source name source_url: string denoting source data url
- Returns:
- A string to be sent over Telegram or another messaging service.
-
format_helper.format_message_helper(data)¶ Formats data as message for sending.
- Args:
- data: an array of the format
- [author, source (link or book name), quotes…]
- Returns:
- A string to be sent over Telegram or another messaging service.