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 Channel Permissions #1

Merged
merged 4 commits into from
Jul 12, 2021
Merged

Add Channel Permissions #1

merged 4 commits into from
Jul 12, 2021

Conversation

suneettipirneni
Copy link
Member

Adds an optional allowedChannels field to Command. This enforces that the command can only be run in certain channels. On the client side it presents an ephemeral message showing the error:

Screen Shot 2021-07-12 at 1 53 43 PM

@suneettipirneni suneettipirneni requested a review from rob-3 July 12, 2021 18:00
@suneettipirneni suneettipirneni self-assigned this Jul 12, 2021
@suneettipirneni suneettipirneni requested a review from rob-3 July 12, 2021 19:04
@suneettipirneni suneettipirneni merged commit 743f337 into main Jul 12, 2021
@suneettipirneni suneettipirneni deleted the dev/channel-perms branch July 12, 2021 19:08
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