channel.fetchMessages()?
See original GitHub issueIs 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.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
UnhandledPromiseRejectionWar...
const fetched = await message.channel.fetchMessages({limit: deleteCount});. Anyone know how to fix that? i am not good with the new updates.
Read more >channel.fetchmessages Code Example
Answers related to “channel.fetchmessages” · fetch patch method · js fetch send json · fetch api post req · fetch memes from redit...
Read more >fetchMessages is not a function · Issue #2676 - GitHub
Please describe the problem you are having in as much detail as possible: fetchMessages is not a function after update to dev for...
Read more >Message history | PubNub Docs
Use the fetchMessages method to fetch messages from storage on one or more channels. This method returns messages that were published before ...
Read more >Javascript – UnhandledPromiseRejectionWarning: TypeError ...
i get this error: UnhandledPromiseRejectionWarning: TypeError: message.channel.fetchMessages is not a function. on this line
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
this is a feature request, im requesting that
channel.fetchMessages
be added back to the API.possibly because you did not read the docs thoroughly?