• A function to use when a user, or the client hasn't all the permissions needed.

    Parameters

    • ctx: CommandContext

      The command context where the permission where missing.

    • missingPermissions: PermissionString[]

      The error.

    • fromClient: boolean = false

      If the error is from the client.

    Returns Promise<Message>

    • The error message sent.

Generated using TypeDoc