-
In such a way that there is the addStringOption, addUserOption etc., there could be an option like addAttatchmentOption to be able to force the user to attach a file. It would be very useful when creating slash commands as there is no way to get the attached files when using a slash command. |
Beta Was this translation helpful? Give feedback.
Answered by
almeidx
Mar 1, 2022
Replies: 1 comment 1 reply
-
Already available on the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Jiralite
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Already available on the
dev
releasediscord.js/packages/builders/src/interactions/slashCommands/mixins/SharedSlashCommandOptions.ts
Lines 57 to 66 in a8321d8