fix: always fetch reference message
All checks were successful
Build / Build (push) Successful in 44s
Build / docker (push) Successful in 17s

This commit is contained in:
파링 2026-02-04 21:12:53 +09:00
parent 76febc7c47
commit b3c065dc51
Signed by: paring
SSH key fingerprint: SHA256:8uCHhCpn/gVOLEaTolmbub9kfM6XBxWkIWmHxUZoWWk

View file

@ -208,9 +208,7 @@ impl Handler {
ctx.cache.message(channel_id, message_id).as_deref()
);
let msg = channel_id
.message((ctx.cache(), ctx.http()), message_id)
.await?;
let msg = channel_id.message(ctx.http(), message_id).await?;
if msg.author.bot() {
return Ok(());