koishi-plugin-chess
Version:
Playing chess games in Koishi
17 lines (16 loc) • 407 B
TypeScript
import { Context, Schema } from 'koishi';
import { StateData } from './board';
declare module 'koishi' {
interface Channel {
chess: StateData;
}
}
export * from './board';
export declare const name = "chess";
export declare const inject: {
optional: string[];
};
export interface Config {
}
export declare const Config: Schema<Config>;
export declare function apply(ctx: Context): void;