summary refs log tree commit diff
path: root/src/util/schemas
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2024-07-09 15:27:24 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2024-07-09 15:27:24 +1000
commit35c9a09ea52099d8ee7eb79a4683f9301dedecd4 (patch)
tree4d4e0ef6da6e756b2b447e67368346d0eecbc4f8 /src/util/schemas
parentAdd new message flags once again (diff)
downloadserver-ts-35c9a09ea52099d8ee7eb79a4683f9301dedecd4.tar.xz
fix poll in msg create schema
Diffstat (limited to 'src/util/schemas')
-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 be1c31be..495e2ebd 100644 --- a/src/util/schemas/MessageCreateSchema.ts +++ b/src/util/schemas/MessageCreateSchema.ts
@@ -56,7 +56,7 @@ export interface MessageCreateSchema { sticker_ids?: string[]; components?: MessageComponent[]; // TODO: Fix TypeScript errors in src\api\util\handlers\Message.ts once this is enabled - //poll?: PollCreationSchema; + poll?: PollCreationSchema; enforce_nonce?: boolean; // For Discord compatibility, it's the default behavior here applied_tags?: string[]; // Not implemented yet, for webhooks in forums thread_name?: string; // Not implemented yet, for webhooks