when i us the CommandInteraction and @InteractionEvent(SlashCommandPipe) at the same time the CommandInteraction is undefined
Is there a way to fix it? Cause i need both.
My code:
async onPollCommand(interaction: CommandInteraction, @InteractionEvent(SlashCommandPipe) options: DcPollDto): Promise<void> {
Hey,
when i us the
CommandInteraction
and@InteractionEvent(SlashCommandPipe)
at the same time theCommandInteraction
isundefined
Is there a way to fix it? Cause i need both.My code:
async onPollCommand(interaction: CommandInteraction, @InteractionEvent(SlashCommandPipe) options: DcPollDto): Promise<void> {