@biskyjs/framework
Version:
30 lines • 896 B
TypeScript
import { ArgumentStore } from "./structures/stores/arguments";
import { CommandStore } from "./structures/stores/commands";
import { type BiscuitOptions, Session } from "@biscuitland/core";
import { StoreRegistry } from "@sapphire/pieces";
export interface BiskyOptions extends BiscuitOptions {
/**
* Prefix to handle message commands
* @default undefined
*/
prefix?: string;
}
export declare class Bisky<Ready extends boolean = boolean> extends Session<Ready> {
/**
* The registered stores.
*/
stores: StoreRegistry;
constructor(options: BiskyOptions);
login(): Promise<void>;
}
declare module "@sapphire/pieces" {
interface Container {
bisky: Bisky;
stores: StoreRegistry;
}
interface StoreRegistryEntries {
commands: CommandStore;
arguments: ArgumentStore;
}
}
//# sourceMappingURL=bisky.d.ts.map