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

Added AsRef on Context for Context #2604

Closed
wants to merge 1 commit into from

Conversation

supercoolspy
Copy link

This fixes an issue with poise's execute_modal_on_component_interaction which takes in a impl AsRef however, this does not actually accept context so this fixes it

@github-actions github-actions bot added the client Related to the `client` module. label Nov 19, 2023
@GnomedDev
Copy link
Member

Can users not just pass &Context into impl AsRef<Context>?

@supercoolspy
Copy link
Author

May be doing something wrong but getting the trait `std::convert::AsRef<poise::serenity_prelude::Context>` is not implemented for `poise::serenity_prelude::Context when passing an &Context

@supercoolspy
Copy link
Author

Skill issue with shuttle

@sarahkittyy
Copy link

This is happening to me too !! What the hell am I supposed to do serenity-rs/poise#247

@GnomedDev
Copy link
Member

This is an issue usually caused by duplicate dependencies, please open a new issue or ask in the serenity server if anyone else runs into this.

@serenity-rs serenity-rs locked and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
client Related to the `client` module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants