Reputation: 1554
So I am new to discord API and I am currently trying to create a small simple discord bot.
The thing that I am trying to do is archive the messages that have been sent in a specific channel. Not only those deleted, or edited but all of them.
Any ideas?
Upvotes: 1
Views: 1088
Reputation: 4046
You can try .fetchMessages([options])
.
Default messages get is 50.
Options object you can put as where you want to start collecting the messages from. Place the message inside options and it will start downloading starting from the message.
Upvotes: 1