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•2y ago
Message Not Public
Sign In & Join Server To View
does
channel.messages.fetch
start at the top (so [1] would be the second message? Or does it start from the most recent message?You can add
after: '0', limit: 2
options
It will fetch first 2 messagesthank you so much 🙏 🙏 🙏 !