mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +00:00
docs: Small doc improvement for PermissionOverwrites (#1964)
Just so people know what the possible types are.
This commit is contained in:
parent
dca0bac444
commit
26c978c465
1 changed files with 8 additions and 1 deletions
|
|
@ -23,9 +23,16 @@ class PermissionOverwrites {
|
|||
*/
|
||||
this.id = data.id;
|
||||
|
||||
/**
|
||||
* The type of a permission overwrite. It can be one of:
|
||||
* * member
|
||||
* * role
|
||||
* @typedef {string} OverwriteType
|
||||
*/
|
||||
|
||||
/**
|
||||
* The type of this overwrite
|
||||
* @type {string}
|
||||
* @type {OverwriteType}
|
||||
*/
|
||||
this.type = data.type;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue