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

feat: Add application command permission builder #108

Merged

Conversation

swarley
Copy link
Member

@swarley swarley commented Nov 30, 2021

Summary

Adds a builder for declaring permissions when creating or editing a slash command.


Added

Interactions::PermissionBuilder

Changed

Bot#register_application_command and Bot#edit_application_command now yield PermissionBuilders

@swarley swarley merged commit 0b60a75 into shardlab:main Nov 30, 2021
@swarley swarley deleted the feat/application-command-permission-builder branch November 30, 2021 03:11
@Daniel-Worrall Daniel-Worrall added enhancement New feature or request interactions Deals with interactions or slash commands labels Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request interactions Deals with interactions or slash commands
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants