Skip to content

Commit

Permalink
fix: Fix old functions exports.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayfri committed Mar 23, 2021
1 parent cdefaf1 commit 0486eb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export {fetchChannelMessages, fetchGuildMessages} from './main.js';
export {fetchChannelMessages, fetchGuildMessages} from './main';
export {Fetcher, Events} from './Fetcher';
5 changes: 1 addition & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,4 @@ async function fetchGuildMessages(client: Client, guildID: Snowflake): Promise<C
deprecate(fetchChannelMessages, 'fetchChannelMessages() is deprecated. Use Fetcher class instead.');
deprecate(fetchGuildMessages, 'fetchGuildMessages() is deprecated. Use Fetcher class instead.');

module.exports = {
fetchGuildMessages,
fetchChannelMessages,
};
export {fetchGuildMessages, fetchChannelMessages};

0 comments on commit 0486eb7

Please sign in to comment.