I want to collect the number of emotes or reacts from a message sent 1 hour ago, how should I do that? I want to make a command like $reacts and the callback should be the count of each reacts from that message. Thanks!
const msg = client.channels.cache.get('TheMessageID');
return message.channel.send(`This message has ${msg.reactions.cache.size} reactions.`);
Hope that was what you were looking for
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.