Releases: Ayfri/discord-fetch-messages
Releases · Ayfri/discord-fetch-messages
v2.5.0
📆 16.10.2022
🏷️ UNRELEASED
💾 33EB43D
♻️ 1
✏️ 3
♻️ Refactors
✏️ Chores
v2.4.0
📆 21.08.2021
🏷️ 2.4.0
💾 7D118C5
🚀 2
🐛 1
📚 3
♻️ 1
🚀 New Features
332C19D
feat: Add export forFetchChannel
type. (@Ayfri)B264A89
feat: AddfetchGuilds
method. (#15) (@Ayfri)
🐛 Bug fixes
📚 Documentation
846E1B5
docs: Add missing docs, fix parts of doc. (@Ayfri)7837176
docs: Fix docs formatting. (@Ayfri)FBDEE49
docs: Update documentation and information. (@Ayfri)
♻️ Refactors
v2.3.0
📆 10.08.2021
🏷️ 2.3.0
💾 D388CC3
🚀 6
📚 1
♻️ 4
🚀 New Features
140AC0A
feat: Addthreads
parameter tofetchChannel
method. (@Ayfri)A8EFC0F
feat: Addthreads
parameter tofetchChannels
method. (@Ayfri)A45059F
feat: Addthreads
parameter tofetchGuild
method. (@Ayfri)D20DAF2
feat: AddfetchThread
&fetchThreads
methods. (@Ayfri)DB10CF3
feat: Add possibility to fetch all the threads of a guild from thefetchThreads
method. (@Ayfri)324AF43
feat: SupportNewsChannel
type for fetching channels. (@Ayfri)
📚 Documentation
♻️ Refactors
v2.2.1
v2.2.0
This release adds typings for Fetcher class events.
It also adds types to the old deprecated functions, because why not ?
Changelog
- feat: Add
author
,bugs
&license
properties inpackage.json
. (a501f19) - feat: Add types to
Fetcher
class events. (ca510a6) - feat: Export events list. (be3f975)
- feat: Rewrite old functions in TS. (429faf5)
- feat: Update
package.json
description. (96b6fac) - fix: Fix
npm-publish
workflow again. (586a0cf) - refactor: Update
tsconfig.json
. (0b72ad8) - style: Prettify code. (6519c98)
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
v2.0.0
This is a big update adding the Fetcher class & deprecating old functions.
const {Fetcher} = require('discord-fetch-messages');
// [...]
const fetcher = new Fetcher(client);
fetcher.on('fetchChannel', async channel => {
await message.channel.send(`Fetching <#${channel.id}>.`);
});
// [...]
await fetcher.fetchGuild(guildID); // Fetching a guild from ID.
await fetcher.fetchChannel(channel); // Fetching a channel.
Changelog
- Added Fetcher class. (8d136fa)
- Added TSDoc. (f72f382)
- Deprecated old
fetchGuildMessages
&fetchChannelMessages
functions. (e57218f) - Improved old functions code. (e71e2e3)
- Remade the
.gitignore
(193f2bb) - Removed
types
directory to git. (86472a0)
Dependencies
v1.1.2
This release adds typings and updated dependencies.
Changelog
- Added
[email protected]
dependency. (410aa40) - Added typings. (410aa40)
- Updated
discord.js
dependency to[email protected]
. (760d111) - Updated
prettier
dependency to[email protected]
. (760d111)
v1.1.1
This version adds the full README plus some fixes.
Changelog
- Added badges in the README. (d180b08)
- Added documentation in the README. (d180b08)
- Added keywords in the package.json. (3e33359)
- Added more
console.log
in the process to be more explanatory on what's happening. (693564e) - Added warnings in the README because this package spams the Discord API so you have to be careful. (d180b08)
- Fixed JSDoc. (25c29fc) (693564e)