fjodor-rybakov / discord-nestjs

👾 NestJS package for discord.js
MIT License
271 stars 49 forks source link

The dto variable is returned to undefined #1065

Closed junjielyu13 closed 1 year ago

junjielyu13 commented 1 year ago

Hello, I have encountered a little problem:

When I want to get the variable input by the user from the discord command line, it returns undefined

Version image

Screenshots

command.ts image

dto.ts image

output on log image

output on discord image

fjodor-rybakov commented 1 year ago

Hi! Make sure, please

junjielyu13 commented 1 year ago

It solve, Thanks, I'm just dumb. I have been calling the command line of the history record, and the result is that the command line of the history record is an old version that has not been updated. I have to rewrite a command line to use it.