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

Menus break in threads #28

Closed
Skelmis opened this issue Jan 21, 2022 · 2 comments · Fixed by #34
Closed

Menus break in threads #28

Skelmis opened this issue Jan 21, 2022 · 2 comments · Fixed by #34

Comments

@Skelmis
Copy link
Contributor

Skelmis commented Jan 21, 2022

        pages = menus.ButtonMenuPages(
            source=EvalPageSource(bot, result, ctx.author),
            clear_buttons_after=True,
        )
        await pages.start(ctx)

Will throw the following error when used in a thread.
AttributeError: 'Thread' object has no attribute '_overwrites'

@DenverCoder1
Copy link
Collaborator

I can't seem to reproduce this issue.

All examples of menus I have tried are working in threads.

@DenverCoder1
Copy link
Collaborator

Has this been resolved?

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 a pull request may close this issue.

2 participants