From 5474d128f06b4e4351b7a97214fefaa72fdee014 Mon Sep 17 00:00:00 2001 From: Trevor Blanarik Date: Sat, 19 Oct 2024 06:33:18 +0000 Subject: [PATCH] save and pass messageid --- spotbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spotbot.py b/spotbot.py index 8961e0b..eb108a9 100644 --- a/spotbot.py +++ b/spotbot.py @@ -17,7 +17,7 @@ def process(self): previous_message, message_id = self.get_last_message() previous_message = self.strikethrough_mesage(previous_message) content = self.combine_messages(previous_message, self.ham) - self.discord_http.post_message(content, message_id) + message_id = self.discord_http.post_message(content, message_id) self.table.upsert_entity(self.ham.callsign, message_id) def strikethrough_mesage(self, message):