WhoReacted: fix errors

This commit is contained in:
Vendicated 2024-07-17 21:30:10 +02:00
parent 67632ecc11
commit 80b493d7a8
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
2 changed files with 18 additions and 15 deletions

View file

@ -147,6 +147,7 @@ async function fetchMessage(channelID: string, messageID: string) {
if (!msg) return;
const message: Message = MessageStore.getMessages(msg.channel_id).receiveMessage(msg).get(msg.id);
if (!message) return;
messageCache.set(message.id, {
message,