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

Method notify_twilio

app/notification.py:141–154  ·  view source on GitHub ↗

Send a notification via the twilio notifier Args: new_analysis (dict): The new_analysis to send.

(self, new_analysis)

Source from the content-addressed store, hash-verified

139
140
141 def notify_twilio(self, new_analysis):
142 """Send a notification via the twilio notifier
143
144 Args:
145 new_analysis (dict): The new_analysis to send.
146 """
147
148 if self.twilio_configured:
149 message = self._indicator_message_templater(
150 new_analysis,
151 self.notifier_config['twilio']['optional']['template']
152 )
153 if message.strip():
154 self.twilio_client.notify(message)
155
156
157 def notify_gmail(self, new_analysis):

Callers 1

notify_allMethod · 0.95

Calls 2

notifyMethod · 0.45

Tested by

no test coverage detected