koishi-plugin-starfx-bot 0.27.3 → 0.28.0
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 +5 -2
- package/lib/index.js +997 -314
- package/lib/plugins/logService.d.ts +6 -0
- package/lib/plugins/recordApi.d.ts +4 -0
- package/lib/plugins/verifyService.d.ts +86 -0
- package/package.json +1 -1
- package/readme.md +43 -2
- package/assets/songRoom.ejs +0 -862
package/lib/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export declare const name = "starfx-bot";
|
|
|
3
3
|
export declare const inject: {
|
|
4
4
|
optional: string[];
|
|
5
5
|
};
|
|
6
|
-
declare module
|
|
6
|
+
declare module "koishi" {
|
|
7
7
|
interface Channel {
|
|
8
8
|
pickupLength: number;
|
|
9
9
|
pickupGrant: boolean;
|
|
@@ -35,6 +35,9 @@ export interface Config {
|
|
|
35
35
|
tagWeight: number;
|
|
36
36
|
recordLink: recordLink;
|
|
37
37
|
saveArchive: boolean;
|
|
38
|
+
autoToken: boolean;
|
|
39
|
+
apiSecret: string;
|
|
40
|
+
ownerId: string;
|
|
38
41
|
roll: boolean;
|
|
39
42
|
undo: boolean;
|
|
40
43
|
echo: boolean;
|
|
@@ -68,6 +71,6 @@ export interface Config {
|
|
|
68
71
|
groups: string;
|
|
69
72
|
}>;
|
|
70
73
|
}
|
|
71
|
-
export declare const Config: Schema
|
|
74
|
+
export declare const Config: Schema;
|
|
72
75
|
export declare function apply(ctx: Context, cfg: Config): void;
|
|
73
76
|
export {};
|