export class MyCustomClient extends SapphireClient {
public constructor(options: ClientOptions) {
super(options);
this.stores.get('interaction-handlers').registerPath(join(someDirWhereTheFolderIs, 'interactions'));
// or for cog system
this.stores.registerPath(join(someDirWhereTheFolderIs, 'cog-module'));
}
}
export class MyCustomClient extends SapphireClient {
public constructor(options: ClientOptions) {
super(options);
this.stores.get('interaction-handlers').registerPath(join(someDirWhereTheFolderIs, 'interactions'));
// or for cog system
this.stores.registerPath(join(someDirWhereTheFolderIs, 'cog-module'));
}
}