v2.1.0
This release adds a simple way to fetch multiple channels and follow more conventional things.
const fetcher = new Fetcher(client);
const channelsMessages = await fetcher.fetchChannels(guild.channels.filter(channel => {
// Only getting textchannels starting with 'g'
return channel.isText() && channel.name.startsWith('g'))
});
Changelog
- chore(deps): Update dependencies. (d2eb4ee)
- feat: Add
fetchChannels
method. (055bef8) - fix: Fix publish workflow, reformat code. (60660d2)
- refactor: Ignore
package-lock.json
. (8271515) - refactor: Reformat code. (ce69e42)
- refactor: Use
fetchChannels
infetchGuild
. (a2dd77c) - style: Change prettier configuration. (16f4445)
Dependencies
@types/node
: 14.14.21 => 14.14.35
@types/node
: 4.1.3 => 4.2.3