You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please follow the following steps before opening this issue.
Issues that do not complete the checklist may be closed without any help.
I have checked for similar issues on the [issue tracker][issues].
I have updated to the [latest version][download] of JDA-Utilities.
I have checked the branches or the maintainers' PRs for upcoming features/bug fixes.
The issue tracker is reserved for issues, errors, and feature requests related
to JDA-Utilities, and not questions and other requests for help.
For examples, check out the [examples module][examples-module] or the list
of [JDA-Utilities projects][jda-u-projects].
For questions join the [official JDA discord server][guild] and ask them
in our #jda-utilities channel.
For general programming questions, visit [StackOverflow][stack overflow].
Issue Information
Check all that apply:
This is a bug report about an error, issue, or bug in JDA-Utilities.
I have been able to consistently reproduce this bug.
This is a feature request for the JDA-Utilities library.
This issue tracker does not assist or handle issues with the JDA library.
For JDA related issues, visit the [JDA issue tracker][jda-issues]
and open an issue there.
Description
When I use the ButtonBuilder in a private message and the user react to answer it the buttonMenu use the function event.getGuild (ButtonMenu.java:135). This function call is try getting the guild from a TextChannel (GenericMessageEvent.java:126) and not from a private channel. This ends in a IllegalStateException: This message event did not happen in a text channel
The text was updated successfully, but these errors were encountered:
Issue
Issue Checklist
Please follow the following steps before opening this issue.
Issues that do not complete the checklist may be closed without any help.
Issue Information
Check all that apply:
Description
When I use the ButtonBuilder in a private message and the user react to answer it the buttonMenu use the function event.getGuild (ButtonMenu.java:135). This function call is try getting the guild from a TextChannel (GenericMessageEvent.java:126) and not from a private channel. This ends in a IllegalStateException: This message event did not happen in a text channel
The text was updated successfully, but these errors were encountered: