| Total Complexity | 0 |
| Total Lines | 12 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | #!/usr/bin/python |
||
| 2 | # -*- coding: utf-8 -*- |
||
| 3 | from kuon.watcher import Settings |
||
| 4 | from kuon.watcher.notifications import Telegram |
||
| 5 | |||
| 6 | if __name__ == "__main__": |
||
| 7 | telegram = Telegram() |
||
| 8 | text, chat = telegram.get_last_chat_id_and_text() |
||
| 9 | res = telegram.send_message('<a href="https://imgur.com/a/Cdvt5">2B Nier Automata imgur album</a>', |
||
| 10 | Settings.Notification.Telegram.chat_id, |
||
| 11 | parse_mode="HTML", disable_web_page_preview=True) |
||
| 12 |