Was saving the message id to the wrong spot.

This commit is contained in:
2025-03-13 09:21:10 -04:00
parent 627112b114
commit 785a4eff46
+1 -1
View File
@@ -353,7 +353,7 @@ async def send_highscore_message(session: Session, guild: nextcord.Guild, group:
if group.message_id is None:
# message doesn't exist.
message: nextcord.Message = await channel.send(highscore_string)
group.id = message.id
group.message_id = message.id
session.commit()
else:
# TODO(imcompiling): check what happens when message is deleted.