mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
Add message.pinned
This commit is contained in:
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}
|
||||||
|
|||||||
Reference in New Issue
Block a user