This repository has been archived on 2026-02-28. You can view files and clone it, but cannot push or open issues or pull requests.
Flam3rboy 56c9e43777 Schema
2021-03-04 22:01:45 +01:00

28 lines
492 B
TypeScript

export const MessageCreateSchema = {
content: String,
nonce: Number,
tts: Boolean,
embed: {},
allowed_mentions: [],
message_reference: {
message_id: BigInt,
channel_id: BigInt,
guild_id: BigInt,
fail_if_not_exists: Boolean,
},
};
export interface MessageCreateSchema {
content: string;
nonce: number;
tts: boolean;
embed: {};
allowed_mentions: [];
message_reference: {
message_id: bigint;
channel_id: bigint;
guild_id: bigint;
fail_if_not_exists: boolean;
};
}