AutoMod/lib/types/LogMessage.ts
2022-07-09 09:45:15 +02:00

21 lines
No EOL
526 B
TypeScript

type Override = {
description?: string|null;
};
export default class LogMessage {
title: string;
description?: string;
fields?: { title: string, content: string, inline?: boolean }[];
color?: string;
image?: { type: 'BIG'|'THUMBNAIL', url: string };
attachments?: { name: string, content: Buffer }[];
overrides?: {
// These take priority over `revolt`
revoltEmbed?: Override,
revoltQuoteblock?: Override,
revolt?: Override,
discord?: Override,
}
}