Skip to content

v2.1.0

Compare
Choose a tag to compare
@Ayfri Ayfri released this 21 Mar 18:58
· 54 commits to main since this release

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 in fetchGuild. (a2dd77c)
  • style: Change prettier configuration. (16f4445)

Dependencies

@types/node: 14.14.21 => 14.14.35
@types/node: 4.1.3 => 4.2.3