mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
feat: add new MessageFlags.FLAGS & User#system (#3603)
* feat: add new FLAGS * feat: add system property * typings: add User#system & new MessageFlagsStrings
This commit is contained in:
@@ -59,6 +59,13 @@ class User extends Base {
|
||||
|
||||
if (typeof data.bot !== 'undefined') this.bot = Boolean(data.bot);
|
||||
|
||||
/**
|
||||
* Whether the user is an Official Discord System user (part of the urgent message system)
|
||||
* @type {?boolean}
|
||||
* @name User#system
|
||||
*/
|
||||
if (typeof data.system !== 'undefined') this.system = Boolean(data.system);
|
||||
|
||||
/**
|
||||
* The locale of the user's client (ISO 639-1)
|
||||
* @type {?string}
|
||||
|
||||
Reference in New Issue
Block a user