change command to process

This commit is contained in:
Walter Boring 2026-02-07 13:49:03 -05:00
parent 5157eb7aa1
commit a21fe72f55

View File

@ -60,10 +60,10 @@ class SlackMessagePlugin(
else:
self.enabled = True
def command(self, packet):
def process(self, packet):
LOG.info(f"SlackMessagePlugin '{message}'")
message = packet.message_text
fromcall = packet.from_call
LOG.info(f"SlackMessagePlugin '{message}'")
# optional second argument is a callsign to search
a = re.search(r"^.*\s+(.*)", message)