sern-handler / handler

Create your dream Discord bot!
https://sern.dev
MIT License
38 stars 9 forks source link

[BUG] Defective select menus. #304

Closed needhamgary closed 1 year ago

needhamgary commented 1 year ago

Describe the bug CommandType ChannelSelect and RoleSelect are not working at all, just returning undefined.

To Reproduce Steps to reproduce the behavior:

  1. create channel select menu or role select menu command
  2. listen for them in commandModule
  3. use the select menu
  4. console returns undefined

Expected behavior log the string "role-menu" when

Screenshots commandModule image creating the menu image selecting a role or a channel just returns undefined in the console

Versioning NodeJS version: 20.2.0 DiscordJS version: 14.11.0 SernHandler version: 3.0.0rc5 Channel: alpha

jacoobes commented 1 year ago

Fixed in 3.0.0rc6. #294 Problem was misaligned command types