Add a method to get the options collection in interaction.options. #6155
Replies: 1 comment 1 reply
-
This was asked by a lot of users and I think it'll be implemented something like this (not with a Edit: #6156 was opened! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since
interactions.options
is no longer a collection, some of my commands have broken, like the/poll
command which has the function of creating polls.So I ask that some method be created like
options.cache
which returns aCollection<String, CommandInteractionOption>
.My code ended up crashing:

How my command worked:

Beta Was this translation helpful? Give feedback.
All reactions