Jacherr / assyst-tracking

Tracking repository for the Assyst discord bot
7 stars 0 forks source link

commands should still use images from message_reference (if there is any) when the message is edited #17

Closed trueharuu closed 3 years ago

Jacherr commented 3 years ago

This should happen, not sure why it doesn't work right now

y21 commented 3 years ago

message_reference is not sent when a message is updated, so the command handler doesn't see the message reference. This probably requires caching messages to work properly.

Unlike creates, message updates may contain only a subset of the full message object payload (but will always contain an id and channel_id).