mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-27 04:15:19 +00:00
Try to fix sending messages with discord-go
This commit is contained in:
@@ -60,8 +60,8 @@ export interface MessageCreateSchema {
|
||||
TODO: OpenWAAO<-->attachment-style metadata conversion
|
||||
**/
|
||||
attachments?: (MessageCreateAttachment | MessageCreateCloudAttachment)[];
|
||||
sticker_ids?: string[];
|
||||
components?: ActionRowComponent[];
|
||||
sticker_ids?: string[] | null; // null check: fixes Discord-Go
|
||||
components?: ActionRowComponent[] | null; // null check: fixes Discord-Go
|
||||
// TODO: Fix TypeScript errors in src\api\util\handlers\Message.ts once this is enabled
|
||||
poll?: PollCreationSchema;
|
||||
enforce_nonce?: boolean; // For Discord compatibility, it's the default behavior here
|
||||
|
||||
Reference in New Issue
Block a user