lilybird
Version:
A bun-first discord api wrapper written in TS
42 lines • 986 B
TypeScript
import type { ActivityType } from "#enums";
export type BotActivityStructure = Pick<ActivityStructure, "name" | "type" | "state" | "url">;
export interface ActivityStructure {
name: string;
type: ActivityType;
url?: string | null;
created_at: number;
timestamps?: {
start?: number;
end?: number;
};
application_id?: string;
details?: string | null;
state?: string | null;
emoji?: {
name: string;
id?: string;
animated?: boolean;
};
party?: {
id?: string;
size?: [number, number];
};
assets?: {
large_image?: string;
large_text?: string;
small_image?: string;
small_text?: string;
};
secrets?: {
join?: string;
spectate?: string;
match?: string;
};
instance?: boolean;
flags?: number;
buttons?: Array<{
label: string;
url: string;
}>;
}
//# sourceMappingURL=activity.d.ts.map