export type Indices = [start: number, end: number]; export interface Emote { id: string; indices: Indices[]; } export interface MessageFlag { index: Indices; /** * Flags: * - `A`: Aggressive Content * - `I`: Identity-Based Hate * - `P`: Profane Content * - `S`: Sexual Content */ flags: Record<'A' | 'I' | 'P' | 'S', number>; text: string; }