Send to Tautulli notifier. Parameters ---------- subject : str Subject of the message. body : str Body of the message.
(self, subject='', body='')
| 337 | self.stats = stats |
| 338 | |
| 339 | def send(self, subject='', body=''): |
| 340 | """Send to Tautulli notifier. |
| 341 | |
| 342 | Parameters |
| 343 | ---------- |
| 344 | subject : str |
| 345 | Subject of the message. |
| 346 | body : str |
| 347 | Body of the message. |
| 348 | """ |
| 349 | subject = subject or self.subject |
| 350 | body = body or self.body |
| 351 | self.tautulli.notify(notifier_id=self.notifier_id, subject=subject, body=body) |
| 352 | |
| 353 | def send_discord(self, title, color, stat, footer): |
| 354 | """Build the Discord message. |
no test coverage detected