-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application commands improvements #374
Conversation
* Fix NPE on ThreadChannelDelete (#373) * Add missing component options Co-authored-by: shilu <[email protected]>
* Fix NPE on ThreadChannelDelete (#373) * add some missing typesafe option getters Co-authored-by: shilu <[email protected]>
val users: Map<String, User> get() = filterOptions() | ||
|
||
val members: Map<String, Member> get() = filterOptions() | ||
|
||
val channels: Map<String, ResolvedChannel> get() = filterOptions() | ||
|
||
val roles: Map<String, Role> get() = filterOptions() | ||
|
||
val mentionables: Map<String, Entity> get() = filterOptions() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't these keys represent Snowflakes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
those could be shorthanded from resolved. I think last time we talked about this we said that not all resolved values are in options
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it would work fine, each of those should be a part of options
…m/kordlib/kord into application-commands-improvements
No description provided.