mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-30 09:24:31 +00:00
fix poll in msg create schema
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user