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

Simplified help command example and added interaction check #16

Merged
merged 2 commits into from
Oct 20, 2021

Conversation

DenverCoder1
Copy link
Collaborator

The use of a dataclass has been changed to use tuples instead since it is not necessary and may make the example harder to understand for beginners.

Using self.context.clean_prefix instead of PREFIX (imported from config) since not everyone will have a PREFIX set in a config module and this is more dynamic.

Added an interaction_check by subclassing ButtonMenuPages to ensure the user of the buttons is the one who called the help command.

@DenverCoder1 DenverCoder1 merged commit 22ede63 into nextcord:master Oct 20, 2021
@DenverCoder1 DenverCoder1 deleted the help-changes branch October 20, 2021 08:54
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.

1 participant