seyfert 2.2.1-dev-14241083990.0 → 2.2.1-dev-14284346795.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,7 +35,7 @@ export declare class GuildShorter extends BaseShorter {
35
35
  * @returns The generated widget URL.
36
36
  */
37
37
  widgetURL(id: string, style?: GuildWidgetStyle): Promise<import("../../types").APIGuildWidgetSettings>;
38
- edit(guildId: string, body: RESTPatchAPIGuildJSONBody, reason?: string): Promise<import("../../structures").Guild<"api">>;
38
+ edit(guildId: string, body: RESTPatchAPIGuildJSONBody, reason?: string): Promise<GuildStructure<'api'>>;
39
39
  list(query?: RESTGetAPICurrentUserGuildsQuery): Promise<AnonymousGuildStructure[]>;
40
40
  fetchSelf(id: string, force?: boolean): Promise<GuildMemberStructure>;
41
41
  leave(id: string): Promise<void | undefined>;
@@ -42,7 +42,9 @@ class GuildShorter extends base_1.BaseShorter {
42
42
  if (guild)
43
43
  return guild;
44
44
  }
45
- const data = await this.client.proxy.guilds(id).get({ query: options.query });
45
+ const data = await this.client.proxy
46
+ .guilds(id)
47
+ .get({ query: typeof options === 'boolean' ? undefined : options.query });
46
48
  await this.client.cache.guilds?.patch(cache_1.CacheFrom.Rest, id, data);
47
49
  return (await this.client.cache.guilds?.raw(id)) ?? data;
48
50
  }
@@ -151,6 +151,10 @@ export interface APIBaseInteraction<Type extends InteractionType, Data> {
151
151
  * Context where the interaction was triggered from
152
152
  */
153
153
  context?: InteractionContextType;
154
+ /**
155
+ * Attachment size limit in bytes
156
+ */
157
+ attachment_size_limit: number;
154
158
  }
155
159
  export type APIAuthorizingIntegrationOwnersMap = {
156
160
  [key in ApplicationIntegrationType]?: Snowflake;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seyfert",
3
- "version": "2.2.1-dev-14241083990.0",
3
+ "version": "2.2.1-dev-14284346795.0",
4
4
  "description": "The most advanced framework for discord bots",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",