mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 17:43:30 +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:
@@ -8,6 +8,7 @@ class MessageAttachment {
|
||||
* @type {Client}
|
||||
*/
|
||||
this.client = message.client;
|
||||
Object.defineProperty(this, 'client', { enumerable: false, configurable: false });
|
||||
/**
|
||||
* The message this attachment is part of.
|
||||
* @type {Message}
|
||||
|
||||
Reference in New Issue
Block a user