mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
committed by
Schuyler Cebulskie
parent
f0adf8f122
commit
beffb390e6
@@ -172,6 +172,12 @@ class Message {
|
||||
* @type {?string}
|
||||
*/
|
||||
this.webhookID = data.webhook_id || null;
|
||||
|
||||
/**
|
||||
* Whether this message is a hit in a search
|
||||
* @type {?boolean}
|
||||
*/
|
||||
this.hit = typeof data.hit === 'boolean' ? data.hit : null;
|
||||
}
|
||||
|
||||
patch(data) { // eslint-disable-line complexity
|
||||
|
||||
Reference in New Issue
Block a user