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

Method notify

app/notifiers/slack_client.py:25–36  ·  view source on GitHub ↗

Sends the message. Args: message (str): The message to send.

(self, message)

Source from the content-addressed store, hash-verified

23
24
25 def notify(self, message):
26 """Sends the message.
27
28 Args:
29 message (str): The message to send.
30 """
31
32 max_message_size = 4096
33 message_chunks = self.chunk_message(message=message, max_message_size=max_message_size)
34
35 for message_chunk in message_chunks:
36 self.slack_client.notify(text=message_chunk)

Callers

nothing calls this directly

Calls 1

chunk_messageMethod · 0.80

Tested by

no test coverage detected