summary refs log tree commit diff
path: root/src/util/schemas/MessageCreateSchema.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-07-31 21:00:03 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-07-31 21:00:03 +1000
commit496cfc8ea19ac430cfeaf9d7b8d3b3bc6843b852 (patch)
tree4aac0dbaba5dabcd8e714d66b69b2d15bb8b36ac /src/util/schemas/MessageCreateSchema.ts
parentlazyrequest dont crash when no members can be found in lazyrequest (diff)
downloadserver-496cfc8ea19ac430cfeaf9d7b8d3b3bc6843b852.tar.xz
some abaddon compat
Diffstat (limited to 'src/util/schemas/MessageCreateSchema.ts')
-rw-r--r--src/util/schemas/MessageCreateSchema.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/schemas/MessageCreateSchema.ts b/src/util/schemas/MessageCreateSchema.ts
index 45cd735e..7e130751 100644
--- a/src/util/schemas/MessageCreateSchema.ts
+++ b/src/util/schemas/MessageCreateSchema.ts
@@ -29,7 +29,7 @@ export interface MessageCreateSchema {
 	nonce?: string;
 	channel_id?: string;
 	tts?: boolean;
-	flags?: string;
+	flags?: number;
 	embeds?: Embed[];
 	embed?: Embed;
 	// TODO: ^ embed is deprecated in favor of embeds (https://discord.com/developers/docs/resources/channel#message-object)