Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CommandRequirements

An object of requirements a user must meet to use the command.

Hierarchy

  • CommandRequirements

Index

Properties

Methods

Properties

Optional dmOnly

dmOnly: undefined | boolean

If true, the message must be sent in a DM channel.

Optional guildOnly

guildOnly: undefined | boolean

If true, the message must be sent in a server channel.

Optional owner

owner: undefined | boolean

If true, the user must be the bot's owner.

Optional permissions

permissions: undefined | string | string[]

A list of permission strings the user must have. If set, the guildOnly option is implied.

Methods

Optional custom

Generated using TypeDoc