summary refs log tree commit diff
path: root/src/util/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/interfaces')
-rw-r--r--src/util/interfaces/MessageOptions.ts15
-rw-r--r--src/util/interfaces/index.ts1
2 files changed, 16 insertions, 0 deletions
diff --git a/src/util/interfaces/MessageOptions.ts b/src/util/interfaces/MessageOptions.ts
new file mode 100644

index 00000000..3705e668 --- /dev/null +++ b/src/util/interfaces/MessageOptions.ts
@@ -0,0 +1,15 @@ +import { Attachment, Embed, MessageCreateSchema, MessageType } from "@fosscord/util*"; + +export interface MessageOptions extends MessageCreateSchema { + id?: string; + type?: MessageType; + pinned?: boolean; + author_id?: string; + webhook_id?: string; + application_id?: string; + embeds?: Embed[]; + channel_id?: string; + attachments?: Attachment[]; + edited_timestamp?: Date; + timestamp?: Date; +} \ No newline at end of file diff --git a/src/util/interfaces/index.ts b/src/util/interfaces/index.ts
index fa259ce1..96a0e9c2 100644 --- a/src/util/interfaces/index.ts +++ b/src/util/interfaces/index.ts
@@ -21,3 +21,4 @@ export * from "./Presence"; export * from "./Interaction"; export * from "./Event"; export * from "./Status"; +export * from "./MessageOptions"; \ No newline at end of file