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
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Jaworek
Jaworek2y ago
messages have author not user
Luca | LeCarbonator
oh, so it's m.author.id === interaction.user.id? or interaction.author.id*?
Jaworek
Jaworek2y ago
also property must be named filter filter: inputFilter
Luca | LeCarbonator
cheers
Jaworek
Jaworek2y ago
yeah first one
Luca | LeCarbonator
thanks, will test real quick worked! closing the post now