componentType: ComponentType.... into your options object. However, if you have a message with multiple component types and want a collector that listens for any type, then you have to pass a generic union into the method since the options object only allows one componentType, not an array; excluding the componentType makes collected return unknown. Is this the intended best method of doing such?Join the Discord to continue the conversation
Support server for discord.js, a Node.js module to interact with Discord's apps API.
57,666 Members
Join