Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 422 Bytes

File metadata and controls

19 lines (13 loc) · 422 Bytes

AllClientPermissions

Usage

import { PermissionFlagsBits } from "discord.js"

allClientPermissions: [PermissionFlagsBits.<Permission>]
// Example
allClientPermissions: [PermissionFlagsBits.BanMembers]
  • The client must have all the specified permissions to be able to execute the command else the error embed is sent.

Return Error

returnAllClientPermissionsError: Boolean; // Default: true