koishi-plugin-starfx-bot 0.23.0 → 0.24.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts ADDED
@@ -0,0 +1,61 @@
1
+ import { type Context, Logger, Schema } from "koishi";
2
+ export declare const name = "starfx-bot";
3
+ export declare const inject: {
4
+ optional: string[];
5
+ };
6
+ export declare let baseDir: string;
7
+ export declare let assetsDir: string;
8
+ export declare const starfxLogger: Logger;
9
+ export declare const usage = "\n<h1>StarFreedomX\u7684\u81EA\u7528\u63D2\u4EF6</h1>\n<h2>\u53EF\u9009\u529F\u80FD\u4F9D\u8D56\uFF1A</h2>\n<h3><a href=\"/market?keyword=skia-canvas\">skia</a></h3>\n <li>\u67E5\u6C47\u7387</li>\n<h3><a href=\"/market?keyword=@quanhuzeyu+sharp\">QhzySharp</a></h3>\n <li>\u5356\u6389\u4E86</li>\n <li>\u5C01\u5370</li>\n <li>bdbd</li>\n ";
10
+ export declare const repeatContextMap: Map<string, [string, number]>;
11
+ interface sendLocalImageConfigItem {
12
+ hiddenInHelp: boolean;
13
+ imgPath: string;
14
+ }
15
+ interface sendLocalImageConfigDict {
16
+ [key: string]: sendLocalImageConfigItem;
17
+ }
18
+ export interface recordLink {
19
+ [key: string]: {
20
+ linkGroup: string;
21
+ linkWeight: number;
22
+ };
23
+ }
24
+ export interface Config {
25
+ openLock: boolean;
26
+ openSold: boolean;
27
+ bangdreamBorder: boolean;
28
+ record: boolean;
29
+ tagWeight: number;
30
+ recordLink: recordLink;
31
+ saveArchive: boolean;
32
+ roll: boolean;
33
+ undo: boolean;
34
+ echo: boolean;
35
+ echoBanner: string[];
36
+ ready: boolean;
37
+ saveReadyAsFile: string;
38
+ roomNumber: boolean;
39
+ saveRoomAsFile: string;
40
+ forward: boolean;
41
+ searchExchangeRate: boolean;
42
+ intervalGetExchangeRate: boolean;
43
+ atNotSay: boolean;
44
+ atNotSayProperty: number;
45
+ atNotSayOther: boolean;
46
+ atNotSayOtherProperty: number;
47
+ iLoveYou: boolean;
48
+ replyBot: string;
49
+ sendLocalImage: sendLocalImageConfigDict;
50
+ myId: boolean;
51
+ openRepeat: boolean;
52
+ minRepeatTimes: number;
53
+ repeatPossibility: number;
54
+ originImg: boolean;
55
+ originImgRSSUrl: string;
56
+ filePathToBase64: boolean;
57
+ featureControl: string;
58
+ }
59
+ export declare const Config: Schema<Schemastery.ObjectS<{}>, {} & import("cosmokit").Dict>;
60
+ export declare function apply(ctx: Context, cfg: Config): void;
61
+ export {};