mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 20:20:55 +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;
|
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
|
* The type of this overwrite
|
||||||
* @type {string}
|
* @type {OverwriteType}
|
||||||
*/
|
*/
|
||||||
this.type = data.type;
|
this.type = data.type;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue