Skip to content

Conversation

@notunderctrl
Copy link
Collaborator

This PR updates the message displayed to users in case there's any missing permissions (both user and the bot):

Breaking changes:

Options preview:

import type { CommandOptions } from 'commandkit';

export const options: CommandOptions = {
    botPermissions: ['Administrator', 'SendTTSMessages', 'BanMembers'],
    userPermissions: ['BanMembers', 'ChangeNickname', 'ManageGuild'],
};

Feature preview:
image

@netlify
Copy link

netlify bot commented Nov 12, 2023

Deploy Preview for commandkit ready!

Name Link
🔨 Latest commit a87397b
🔍 Latest deploy log https://app.netlify.com/sites/commandkit/deploys/655112c33e27a80008b639d3
😎 Deploy Preview https://deploy-preview-25--commandkit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@notunderctrl notunderctrl merged commit 6d1f9ee into master Nov 12, 2023
@notunderctrl notunderctrl deleted the update-permission-validation branch November 12, 2023 18:14
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.

3 participants