mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
Clean up a bunch of stuff
- Channel typing data is now a Map - Client properties on structures are now non-enumerable and non-configurable
This commit is contained in:
@@ -13,6 +13,7 @@ class MessageEmbed {
|
||||
* @type {Client}
|
||||
*/
|
||||
this.client = message.client;
|
||||
Object.defineProperty(this, 'client', { enumerable: false, configurable: false });
|
||||
this.setup(data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user