mirror of
https://github.com/spacebarchat/server.git
synced 2026-09-01 22:18:46 +00:00
✨ empty messages check + allowed mentions
This commit is contained in:
+12
-2
@@ -43,7 +43,12 @@ export const MessageCreateSchema = {
|
||||
25
|
||||
)
|
||||
},
|
||||
$allowed_mentions: [],
|
||||
$allowed_mentions: {
|
||||
$parse: [String],
|
||||
$roles: [String],
|
||||
$users: [String],
|
||||
$replied_user: Boolean
|
||||
},
|
||||
$message_reference: {
|
||||
message_id: String,
|
||||
channel_id: String,
|
||||
@@ -60,7 +65,12 @@ export interface MessageCreateSchema {
|
||||
tts?: boolean;
|
||||
flags?: bigint;
|
||||
embed?: Embed & { timestamp?: string };
|
||||
allowed_mentions?: [];
|
||||
allowed_mentions?: {
|
||||
parse?: string[];
|
||||
roles?: string[];
|
||||
users?: string[];
|
||||
replied_user?: boolean;
|
||||
};
|
||||
message_reference?: {
|
||||
message_id: string;
|
||||
channel_id: string;
|
||||
|
||||
Reference in New Issue
Block a user