File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse 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.
0 commit comments