#Roles Pagination Error
1 messages · Page 1 of 1 (latest)
Is there any error?
The filter for collectors has moved into the options:
- const collector = message.createReactionCollector(filter, { ...options });
+ const collector = message.createReactionCollector({ filter, ...options });
no it doesn't log one
this is how it displays
This might be relevant
You also would want to switch to buttons
*is
Then see this
could you help / explain on how that would be relevant?
You are doing the thing highlighted in red
I understand but where, sorry i'm kinda slow
Line 54
try { r = await msg.awaitReactions(filter, { max: 1, time: 60000, errors: ["time"] }) }
Change it to the one highlighted in green
it worked, now i'm having a problem with my select page by typing button, and it's not logging an error.
Oh
let collected = await m.channel.awaitMessages(
response => message.content,
{
max: 1,
errors: ["time"]
}
);```
Could yo uevalusate
this is confusing\
The filter is the response => message.content
You can just omit the filter then
awaitMessages({max:1})
let collected = await m.channel.awaitMessages({max:1})
?
Try
thanks!
also i'm sorry if this is alot to ask could you help migrate this to buttons?
You must do that yourself you can check the guide