Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 422 Bytes

anyClientPermissions.md

File metadata and controls

14 lines (13 loc) · 422 Bytes

AnyClientPermissions

Usage

import { PermissionFlagsBits } from "discord.js"

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

Return Error

returnAnyClientPermissionsError: Boolean // Default: true