MCPcopy
hub / github.com/CryptoSignal/Crypto-Signal / notify_all

Method notify_all

app/notification.py:94–107  ·  view source on GitHub ↗

Trigger a notification for all notification options. Args: new_analysis (dict): The new_analysis to send.

(self, new_analysis)

Source from the content-addressed store, hash-verified

92
93
94 def notify_all(self, new_analysis):
95 """Trigger a notification for all notification options.
96
97 Args:
98 new_analysis (dict): The new_analysis to send.
99 """
100
101 self.notify_slack(new_analysis)
102 self.notify_discord(new_analysis)
103 self.notify_twilio(new_analysis)
104 self.notify_gmail(new_analysis)
105 self.notify_telegram(new_analysis)
106 self.notify_webhook(new_analysis)
107 self.notify_stdout(new_analysis)
108
109 def notify_discord(self, new_analysis):
110 """Send a notification via the discord notifier

Callers 1

runMethod · 0.80

Calls 7

notify_slackMethod · 0.95
notify_discordMethod · 0.95
notify_twilioMethod · 0.95
notify_gmailMethod · 0.95
notify_telegramMethod · 0.95
notify_webhookMethod · 0.95
notify_stdoutMethod · 0.95

Tested by

no test coverage detected