-
I tried something like this but it doesn't work
Error:
|
Beta Was this translation helpful? Give feedback.
Answered by
qyczq
Jan 21, 2024
Replies: 1 comment 2 replies
-
I'm pretty sure you cannot get the replied user. This is what I am doing for my bot: let ref = message.channel.messages.cache.get(message.reference.messageId);
if (ref?.interaction?.user?.id !== client.user.id) return;
// logic |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This works perfect and its shorter