-
Notifications
You must be signed in to change notification settings - Fork 83
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
Add ResolvedChannel #225
Add ResolvedChannel #225
Conversation
adds support to resolved channels by application commands
|
||
override val supplier: EntitySupplier | ||
get() = strategy.supply(kord) | ||
|
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.
Should add a meaningful toString
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.
Should we add the object reference for the type, or it's value (Discord value) Although the object gives better idea of the actual type. However the value is less complicated than this:
Type: dev.kord.common.entity.ChannelType$GuildCategory@47e3a62b
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.
We should probably just give those types a better toString as well, though that's not the scope of this PR
|
||
override val supplier: EntitySupplier | ||
get() = strategy.supply(kord) | ||
|
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.
We should probably just give those types a better toString as well, though that's not the scope of this PR
Co-authored-by: Bart Arys <[email protected]>
adds support to resolved channels by application commands