Skip to content
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

Merged
merged 4 commits into from
Mar 29, 2021
Merged

Conversation

HopeBaron
Copy link
Member

adds support to resolved channels by application commands

adds support to resolved channels by application commands

override val supplier: EntitySupplier
get() = strategy.supply(kord)

Copy link
Contributor

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

Copy link
Member Author

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

Copy link
Contributor

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)

Copy link
Contributor

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

@HopeBaron HopeBaron merged commit 184d886 into 0.7.x Mar 29, 2021
@HopeBaron HopeBaron deleted the fixes/0.7.0/interaction-channel-argument branch April 18, 2021 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants