Skip to content

Commit

Permalink
save and pass messageid
Browse files Browse the repository at this point in the history
  • Loading branch information
tblanarik committed Oct 19, 2024
1 parent 7877944 commit 5474d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spotbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 5474d12

Please sign in to comment.