fix poll in msg create schema

This commit is contained in:
Madeline
2024-07-09 15:27:24 +10:00
parent c52d6c49a3
commit 35c9a09ea5
4 changed files with 20 additions and 19 deletions
+1 -1
View File
@@ -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