About
discord-fetch-all
is an easy way to fetch all messages from a channel or all reactions from a message.
Usage
How to fetch all messages from a channel.
const fetchAll = ; // First parameter needs to be a discord.js channel object// Second parameter is a optional set of options.const allMessages = await fetchAll; // Will return an array of all messages in the channel// If the channel has no messages it will return an empty arrayconsole;
How to fetch all users that have reacted to a message.
const fetchAll = ; // First parameter needs to be a discord.js message object// Second parameter is a optional set of options.const allMessages = await fetchAll; // Will return an array of all users that have reacted// If not users have reacted it will return an empty arrayconsole;
Links
Help
If you don't understand something in the documentation, you are experiencing problems, don't hesitate to join our Discord Server to seek for some help.