Select menu interaction handler not working
I have a select menu interaction handler which never actually get the interaction, I added a console log in the parse function and it wasn't triggered either, ideas?
File: https://github.com/oriel-beck/application-bot/blob/v4/src/interaction-handlers/apply/select.ts
2 Replies
You have 2 interaction handlers named
select.ts
and by default the name of the file is used as the piece name, and the piece name has to be unique because we use a Map which has unique keys https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map
So either provide the name or give the files unique names.Oh ffs