Get the second message in a channel?

How might I get the message object of the second or third message in a channel?
4 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
t̴humper
t̴humperOP2y ago
does channel.messages.fetch start at the top (so [1] would be the second message? Or does it start from the most recent message?
Syjalo
Syjalo2y ago
You can add after: '0', limit: 2 options It will fetch first 2 messages
t̴humper
t̴humperOP2y ago
thank you so much 🙏 🙏 🙏 !
Want results from more Discord servers?
Add your server