seyfert 3.2.3-dev-15770378141.0 → 3.2.3

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.
@@ -3,6 +3,7 @@ import type { Attachment, AttachmentBuilder, Embed, Modal, PollBuilder, TopLevel
3
3
  import type { APIEmbed, APIInteractionResponseCallbackData, APIInteractionResponseChannelMessageWithSource, APIModalInteractionResponse, MessageFlags, RESTAPIPollCreate, RESTPatchAPIChannelMessageJSONBody, RESTPatchAPIWebhookWithTokenMessageJSONBody, RESTPostAPIChannelMessageJSONBody, RESTPostAPIWebhookWithTokenJSONBody } from '../../types';
4
4
  import type { OmitInsert } from './util';
5
5
  export interface ResolverProps {
6
+ content?: string | undefined | null;
6
7
  embeds?: Embed[] | APIEmbed[] | undefined;
7
8
  components?: TopLevelBuilders[] | ReturnType<TopLevelBuilders['toJSON']>[];
8
9
  files?: AttachmentBuilder[] | Attachment[] | RawFile[] | undefined;
@@ -10,15 +11,15 @@ export interface ResolverProps {
10
11
  export interface SendResolverProps extends ResolverProps {
11
12
  poll?: PollBuilder | RESTAPIPollCreate | undefined;
12
13
  }
13
- export type MessageCreateBodyRequest = OmitInsert<RESTPostAPIChannelMessageJSONBody, 'components' | 'embeds' | 'poll', SendResolverProps>;
14
- export type MessageUpdateBodyRequest = OmitInsert<RESTPatchAPIChannelMessageJSONBody, 'components' | 'embeds', ResolverProps>;
15
- export type MessageWebhookCreateBodyRequest = OmitInsert<RESTPostAPIWebhookWithTokenJSONBody, 'components' | 'embeds' | 'poll', SendResolverProps>;
16
- export type MessageWebhookUpdateBodyRequest = OmitInsert<RESTPatchAPIWebhookWithTokenMessageJSONBody, 'components' | 'embeds' | 'poll', ResolverProps>;
17
- export type InteractionMessageUpdateBodyRequest = OmitInsert<RESTPatchAPIWebhookWithTokenMessageJSONBody, 'components' | 'embeds' | 'poll', SendResolverProps> & {
14
+ export type MessageCreateBodyRequest = OmitInsert<RESTPostAPIChannelMessageJSONBody, 'components' | 'embeds' | 'poll' | 'content', SendResolverProps>;
15
+ export type MessageUpdateBodyRequest = OmitInsert<RESTPatchAPIChannelMessageJSONBody, 'components' | 'embeds' | 'content', ResolverProps>;
16
+ export type MessageWebhookCreateBodyRequest = OmitInsert<RESTPostAPIWebhookWithTokenJSONBody, 'components' | 'embeds' | 'poll' | 'content', SendResolverProps>;
17
+ export type MessageWebhookUpdateBodyRequest = OmitInsert<RESTPatchAPIWebhookWithTokenMessageJSONBody, 'components' | 'embeds' | 'poll' | 'content', ResolverProps>;
18
+ export type InteractionMessageUpdateBodyRequest = OmitInsert<RESTPatchAPIWebhookWithTokenMessageJSONBody, 'components' | 'embeds' | 'poll' | 'content', SendResolverProps> & {
18
19
  flags?: MessageFlags;
19
20
  };
20
- export type ComponentInteractionMessageUpdate = OmitInsert<APIInteractionResponseCallbackData, 'components' | 'embeds', ResolverProps>;
21
- export type InteractionCreateBodyRequest = OmitInsert<APIInteractionResponseChannelMessageWithSource['data'], 'components' | 'embeds' | 'poll', SendResolverProps>;
21
+ export type ComponentInteractionMessageUpdate = OmitInsert<APIInteractionResponseCallbackData, 'components' | 'embeds' | 'content', ResolverProps>;
22
+ export type InteractionCreateBodyRequest = OmitInsert<APIInteractionResponseChannelMessageWithSource['data'], 'components' | 'embeds' | 'poll' | 'content', SendResolverProps>;
22
23
  export type ModalCreateBodyRequest = APIModalInteractionResponse['data'] | Modal;
23
24
  export interface ModalCreateOptions {
24
25
  waitFor?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seyfert",
3
- "version": "3.2.3-dev-15770378141.0",
3
+ "version": "3.2.3",
4
4
  "description": "The most advanced framework for discord bots",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
@@ -70,4 +70,4 @@
70
70
  "esbuild"
71
71
  ]
72
72
  }
73
- }
73
+ }