discordx-ts / discordx

🤖 Create a discord bot with TypeScript and Decorators!
https://discordx.js.org
Apache License 2.0
607 stars 50 forks source link

[Feature]: add the commandID to "DApplicationCommand" #865

Closed B0tis closed 2 years ago

B0tis commented 2 years ago

Feature?

Hi, I would like to mention Slash commands in my bot message and that via "MetadataStorage" but I noticed that the commandID is not there yet.

I would be very kind if you could add this feature.

Package

discordx

samarmeena commented 2 years ago

command id is not something our library create, it is snowflake id generated by discord. You can fetch discord commands to retrieve application command id.

B0tis commented 2 years ago

lol, thx