erium
Version:
Erium is Discord Bot Library made in typescript
21 lines (19 loc) • 399 B
text/typescript
export enum ActivityType {
game = 0,
streaming = 1,
listening = 2,
watching = 3,
custom = 4,
competing = 5
}
export interface Presence {
since?: boolean | null;
activities: Activity[];
status: "online"|"dnd"|"idle"|"invisible"|"offline";
afk?: boolean;
}
export interface Activity {
name: string;
type: keyof typeof ActivityType;
url?: string;
}