A powerful and extendable Discord bot, with it's own module system :3 thevoid.cafe/projects/voidy
at develop 18 lines 375 B view raw
1export interface ModuleOptions { 2 id: string; 3 name: string; 4 description: string; 5} 6 7export class Module { 8 readonly type = "module" as const; 9 readonly id: string; 10 readonly name: string; 11 readonly description: string; 12 13 constructor(options: ModuleOptions) { 14 this.id = options.id; 15 this.name = options.name; 16 this.description = options.description; 17 } 18}