awaitMessages filter firing off even though it returns false
I have the following function that awaits a user message and returns the string the user entered.
However, after some testing, it seems like although the filter should prevent others from interfering, it also accepts messages from unrelated users.
How do I fix the filter to only accept responses from the user that performed the slash command?
7 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
messages have author not user
oh, so it's m.author.id === interaction.user.id?
or interaction.author.id*?
also property must be named filter
filter: inputFilter
cheers
yeah first one
thanks, will test real quick
worked! closing the post now