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 default permissions to commands #24

Merged
merged 1 commit into from
Jan 12, 2022
Merged

Conversation

jolheiser
Copy link
Collaborator

This PR adds default permissions to application commands.

NOTE: I've opted to go this route because *bool is awkward to work with, especially since these are usually made inline in a struct. With this implementation, users who want the (Discord) default can just not set it at all.


It also removes SlashCommand, because it wasn't used anywhere and was a dupe of CreateCommand

@karitham
Copy link
Owner

lgtm

@karitham karitham merged commit 1256161 into karitham:master Jan 12, 2022
@jolheiser jolheiser deleted the command branch January 12, 2022 14:52
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