mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
Add message.pinned
This commit is contained in:
@@ -28,6 +28,11 @@ class Message {
|
||||
}
|
||||
|
||||
setup(data) {
|
||||
/**
|
||||
* Whether or not this message is pinned
|
||||
* @type {Boolean}
|
||||
*/
|
||||
this.pinned = data.pinned;
|
||||
/**
|
||||
* The author of the message
|
||||
* @type {User}
|
||||
|
||||
Reference in New Issue
Block a user