AutoMod/lib/types/LogMessage.ts

21 lines
526 B
TypeScript
Raw Normal View History

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`
2022-05-22 17:47:22 +02:00
revoltEmbed?: Override,
revoltQuoteblock?: Override,
revolt?: Override,
discord?: Override,
}
}