koishi-plugin-waifu-bangdream
Version:
Marry with your groupmate, with BanG Dream Border!
41 lines (40 loc) • 1.38 kB
TypeScript
import { Context, Schema, Universal } from 'koishi';
export declare const name = "waifu-bangdream";
export declare const inject: {
required: string[];
optional: string[];
};
export declare const usage = "\n<h2>\u5A36\u7FA4\u53CB</h2>\n\u672C\u63D2\u4EF6fork\u81EA<a href=\"/market?keyword=koishi-plugin-waifu\">koishi-plugin-waifu</a><br/>\n\u5728\u539F\u4ED3\u5E93\u7684\u57FA\u7840\u4E0A\u6DFB\u52A0\u4E86BanG Dream!\u7684\u968F\u673A\u8FB9\u6846\uFF01<br/>\n";
declare module '@koishijs/cache' {
interface Tables {
[key: `waifu_members_${string}`]: Universal.GuildMember;
[key: `waifu_members_active_${string}`]: string;
[key: `waifu_marriages_${string}`]: string;
[key: `waifu_times_${string}`]: number;
[key: `waifu_image_${string}`]: marriageImage;
}
}
export interface marriageImage {
color: string;
band: string;
starType: string;
starNum: number;
border: string;
}
export interface Config {
avoidNtr: boolean;
onlyActiveUser: boolean;
activeDays: number;
excludeUsers: {
uid: string;
note?: string;
}[];
maxTimes: number;
forceMarry: boolean;
propose: boolean;
divorce: boolean;
changeWaifu: boolean;
waifuQuery: boolean;
}
export declare const Config: Schema<Config>;
export declare function apply(ctx: Context, cfg: Config): void;