Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
14 lines (13 loc) · 435 Bytes

allUserPermissions.md

File metadata and controls

executable file
·
14 lines (13 loc) · 435 Bytes

AllUserPermissions

Usage

import { PermissionFlagsBits } from "discord.js"

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

Return Error

returnAllUserPermissionsError: Boolean // Default: True