Discord.js: channel.fetchMessages()?

Created on 28 May 2020  Â·  7Comments  Â·  Source: discordjs/discord.js

Is your feature request related to a problem? Please describe.
I would like my bot to be able to fetch messages in a specific channel, for things like reaction roles, confirmation messages, and the like. Partials are out of the question because the massive overhaul required would (imho) not be worth it for something like that.
Describe the ideal solution
I saw on some stackoverflow posts that there used to be a channel.fetchMessages function to get all the messages in a channel? I dont know anything about it except for what it does.

question (please use Discord instead)

Most helpful comment

now why the hell did i think that was something else

possibly because you did not read the docs thoroughly?

All 7 comments

The issue tracker is only for bug reports and enhancement suggestions. If you have a question, please ask it in the Discord server instead of opening an issue – you will get redirected there anyway.

this is a feature request, im requesting that channel.fetchMessages be added back to the API.

Is there any reason why? TextChannel#messages#fetch still exists. Also, Discord.js isn't going to implement major changes and inconsistencies just to meet your specific needs and save you from work.

🤔 now why the hell did i think that was something else

now why the hell did i think that was something else

possibly because you did not read the docs thoroughly?

@NotSugden I also believe the switch to managers was very well documented

now why the hell did i think that was something else

possibly because you did not read the docs thoroughly?

possibly so, and also possibly cause im a idiot xD

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kvn1351 picture kvn1351  Â·  3Comments

tiritto picture tiritto  Â·  3Comments

PassTheMayo picture PassTheMayo  Â·  3Comments

DatMayo picture DatMayo  Â·  3Comments

iCrawl picture iCrawl  Â·  3Comments