Can you set an offset when getting messages? #7426
-
In |
Beta Was this translation helpful? Give feedback.
Answered by
kyranet
Feb 8, 2022
Replies: 2 comments 1 reply
-
You can use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kyranet
-
If you know the id of the last message you don’t want you can send that as “after”: https://discord.js.org/#/docs/discord.js/stable/typedef/ChannelLogsQueryOptions |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
before
andafter
to paginate thru the messages, see the documentation.