mirror of
https://github.com/danbulant/discord.js
synced 2026-09-20 06:53:53 +00:00
Add message.pinned
This commit is contained in:
parent
357502e520
commit
dd40b870d5
2 changed files with 6 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
|
@ -28,6 +28,11 @@ class Message {
|
||||||
}
|
}
|
||||||
|
|
||||||
setup(data) {
|
setup(data) {
|
||||||
|
/**
|
||||||
|
* Whether or not this message is pinned
|
||||||
|
* @type {Boolean}
|
||||||
|
*/
|
||||||
|
this.pinned = data.pinned;
|
||||||
/**
|
/**
|
||||||
* The author of the message
|
* The author of the message
|
||||||
* @type {User}
|
* @type {User}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue