mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-29 09:49:13 +00:00
[rel/1518] Allowed mentions + message reference: allow nulls
This commit is contained in:
@@ -43,18 +43,18 @@ export interface MessageCreateSchema {
|
||||
embed?: Embed | null;
|
||||
// TODO: ^ embed is deprecated in favor of embeds (https://discord.com/developers/docs/resources/channel#message-object)
|
||||
allowed_mentions?: {
|
||||
parse?: string[];
|
||||
roles?: string[];
|
||||
users?: string[];
|
||||
parse?: string[] | null;
|
||||
roles?: string[] | null;
|
||||
users?: string[] | null;
|
||||
replied_user?: boolean;
|
||||
};
|
||||
} | null;
|
||||
message_reference?: {
|
||||
message_id?: string;
|
||||
channel_id?: string;
|
||||
guild_id?: string;
|
||||
fail_if_not_exists?: boolean;
|
||||
type?: number;
|
||||
};
|
||||
} | null;
|
||||
payload_json?: string;
|
||||
file?: { filename: string };
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user