A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/discordjs/discord.js/commit/7e21a9474e532c5b22c6e0600c446fca47352617 below:

add `attachmentSizeLimit` (#10830) · discordjs/discord.js@7e21a94 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+7

-0

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+7

-0

lines changed Original file line number Diff line number Diff line change

@@ -122,6 +122,12 @@ class BaseInteraction extends Base {

122 122

* @type {?InteractionContextType}

123 123

*/

124 124

this.context = data.context ?? null;

125 + 126 +

/**

127 +

* Attachment size limit in bytes

128 +

* @type {number}

129 +

*/

130 +

this.attachmentSizeLimit = data.attachment_size_limit;

125 131

}

126 132 127 133

/**

Original file line number Diff line number Diff line change

@@ -2102,6 +2102,7 @@ export class BaseInteraction<Cached extends CacheType = CacheType> extends Base

2102 2102

public locale: Locale;

2103 2103

public guildLocale: CacheTypeReducer<Cached, Locale>;

2104 2104

public entitlements: Collection<Snowflake, Entitlement>;

2105 +

public attachmentSizeLimit: number;

2105 2106

public inGuild(): this is BaseInteraction<'raw' | 'cached'>;

2106 2107

public inCachedGuild(): this is BaseInteraction<'cached'>;

2107 2108

public inRawGuild(): this is BaseInteraction<'raw'>;

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4