#So i fianlly got my bot working the way

1 messages · Page 1 of 1 (latest)

pallid garnet
strange owlBOT
#

Tag suggestion for @pallid garnet:
The filter for collectors has moved into the options:

- const collector = message.createReactionCollector(filter, { ...options });
+ const collector = message.createReactionCollector({ filter, ...options });
pallid garnet
#

hm.

#

i don't quite understand (extremely new to JS, as in i started learning two days ago)

#

@maiden tangle Could you possibly explain a little so i can understand? I apoloize, i'm still hitting that learning curve... Lol

maiden tangle
#

move the filter object in the options you pass to createMessageCollector, just like you did with time
make sure its called filter, not filter1.
You can assign it via filter: filter1

pallid garnet
#

ohhh okay

#

thank you