@frogbotai/piece-discord 0.41.0 → 0.43.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/dist/define.d.ts +2 -2
- package/dist/index.d.ts +5 -5
- package/dist/triggers.d.ts +5 -5
- package/package.json +3 -3
package/dist/define.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
|
|
|
49
49
|
type: "app";
|
|
50
50
|
event: string;
|
|
51
51
|
run(args: {
|
|
52
|
+
input: import("zod").infer<TInput>;
|
|
52
53
|
options: {
|
|
53
54
|
mentionRoleIds: string[];
|
|
54
55
|
respondToChannelIds: string[];
|
|
@@ -58,7 +59,6 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
|
|
|
58
59
|
publicKey?: string | undefined;
|
|
59
60
|
botUsername?: string | undefined;
|
|
60
61
|
};
|
|
61
|
-
input: import("zod").infer<TInput>;
|
|
62
62
|
client: {
|
|
63
63
|
apiUrl: string;
|
|
64
64
|
request: ({ method, path, body, headers, authenticated, redirect, }: import("./client.js").DiscordRequest) => Promise<{
|
|
@@ -85,6 +85,7 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
|
|
|
85
85
|
type: "app";
|
|
86
86
|
event: string;
|
|
87
87
|
run(args: {
|
|
88
|
+
input: import("zod").infer<TInput>;
|
|
88
89
|
options: {
|
|
89
90
|
mentionRoleIds: string[];
|
|
90
91
|
respondToChannelIds: string[];
|
|
@@ -94,7 +95,6 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
|
|
|
94
95
|
publicKey?: string | undefined;
|
|
95
96
|
botUsername?: string | undefined;
|
|
96
97
|
};
|
|
97
|
-
input: import("zod").infer<TInput>;
|
|
98
98
|
client: {
|
|
99
99
|
apiUrl: string;
|
|
100
100
|
request: ({ method, path, body, headers, authenticated, redirect, }: import("./client.js").DiscordRequest) => Promise<{
|
package/dist/index.d.ts
CHANGED
|
@@ -516,6 +516,7 @@ export declare const createDiscord: import("frogbot").PieceFactory<{
|
|
|
516
516
|
type: "app";
|
|
517
517
|
event: string;
|
|
518
518
|
run(args: {
|
|
519
|
+
input: Record<string, never>;
|
|
519
520
|
options: {
|
|
520
521
|
mentionRoleIds: string[];
|
|
521
522
|
respondToChannelIds: string[];
|
|
@@ -525,7 +526,6 @@ export declare const createDiscord: import("frogbot").PieceFactory<{
|
|
|
525
526
|
publicKey?: string | undefined;
|
|
526
527
|
botUsername?: string | undefined;
|
|
527
528
|
};
|
|
528
|
-
input: Record<string, never>;
|
|
529
529
|
client: {
|
|
530
530
|
apiUrl: string;
|
|
531
531
|
request: ({ method, path, body, headers, authenticated, redirect, }: import("./client.js").DiscordRequest) => Promise<{
|
|
@@ -552,6 +552,7 @@ export declare const createDiscord: import("frogbot").PieceFactory<{
|
|
|
552
552
|
type: "app";
|
|
553
553
|
event: string;
|
|
554
554
|
run(args: {
|
|
555
|
+
input: Record<string, never>;
|
|
555
556
|
options: {
|
|
556
557
|
mentionRoleIds: string[];
|
|
557
558
|
respondToChannelIds: string[];
|
|
@@ -561,7 +562,6 @@ export declare const createDiscord: import("frogbot").PieceFactory<{
|
|
|
561
562
|
publicKey?: string | undefined;
|
|
562
563
|
botUsername?: string | undefined;
|
|
563
564
|
};
|
|
564
|
-
input: Record<string, never>;
|
|
565
565
|
client: {
|
|
566
566
|
apiUrl: string;
|
|
567
567
|
request: ({ method, path, body, headers, authenticated, redirect, }: import("./client.js").DiscordRequest) => Promise<{
|
|
@@ -588,6 +588,7 @@ export declare const createDiscord: import("frogbot").PieceFactory<{
|
|
|
588
588
|
type: "app";
|
|
589
589
|
event: string;
|
|
590
590
|
run(args: {
|
|
591
|
+
input: Record<string, never>;
|
|
591
592
|
options: {
|
|
592
593
|
mentionRoleIds: string[];
|
|
593
594
|
respondToChannelIds: string[];
|
|
@@ -597,7 +598,6 @@ export declare const createDiscord: import("frogbot").PieceFactory<{
|
|
|
597
598
|
publicKey?: string | undefined;
|
|
598
599
|
botUsername?: string | undefined;
|
|
599
600
|
};
|
|
600
|
-
input: Record<string, never>;
|
|
601
601
|
client: {
|
|
602
602
|
apiUrl: string;
|
|
603
603
|
request: ({ method, path, body, headers, authenticated, redirect, }: import("./client.js").DiscordRequest) => Promise<{
|
|
@@ -624,6 +624,7 @@ export declare const createDiscord: import("frogbot").PieceFactory<{
|
|
|
624
624
|
type: "app";
|
|
625
625
|
event: string;
|
|
626
626
|
run(args: {
|
|
627
|
+
input: Record<string, never>;
|
|
627
628
|
options: {
|
|
628
629
|
mentionRoleIds: string[];
|
|
629
630
|
respondToChannelIds: string[];
|
|
@@ -633,7 +634,6 @@ export declare const createDiscord: import("frogbot").PieceFactory<{
|
|
|
633
634
|
publicKey?: string | undefined;
|
|
634
635
|
botUsername?: string | undefined;
|
|
635
636
|
};
|
|
636
|
-
input: Record<string, never>;
|
|
637
637
|
client: {
|
|
638
638
|
apiUrl: string;
|
|
639
639
|
request: ({ method, path, body, headers, authenticated, redirect, }: import("./client.js").DiscordRequest) => Promise<{
|
|
@@ -660,6 +660,7 @@ export declare const createDiscord: import("frogbot").PieceFactory<{
|
|
|
660
660
|
type: "app";
|
|
661
661
|
event: string;
|
|
662
662
|
run(args: {
|
|
663
|
+
input: Record<string, never>;
|
|
663
664
|
options: {
|
|
664
665
|
mentionRoleIds: string[];
|
|
665
666
|
respondToChannelIds: string[];
|
|
@@ -669,7 +670,6 @@ export declare const createDiscord: import("frogbot").PieceFactory<{
|
|
|
669
670
|
publicKey?: string | undefined;
|
|
670
671
|
botUsername?: string | undefined;
|
|
671
672
|
};
|
|
672
|
-
input: Record<string, never>;
|
|
673
673
|
client: {
|
|
674
674
|
apiUrl: string;
|
|
675
675
|
request: ({ method, path, body, headers, authenticated, redirect, }: import("./client.js").DiscordRequest) => Promise<{
|
package/dist/triggers.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare const commandReceived: {
|
|
|
10
10
|
type: "app";
|
|
11
11
|
event: string;
|
|
12
12
|
run(args: {
|
|
13
|
+
input: Record<string, never>;
|
|
13
14
|
options: {
|
|
14
15
|
mentionRoleIds: string[];
|
|
15
16
|
respondToChannelIds: string[];
|
|
@@ -19,7 +20,6 @@ export declare const commandReceived: {
|
|
|
19
20
|
publicKey?: string | undefined;
|
|
20
21
|
botUsername?: string | undefined;
|
|
21
22
|
};
|
|
22
|
-
input: Record<string, never>;
|
|
23
23
|
client: {
|
|
24
24
|
apiUrl: string;
|
|
25
25
|
request: ({ method, path, body, headers, authenticated, redirect, }: import("./client.js").DiscordRequest) => Promise<{
|
|
@@ -47,6 +47,7 @@ export declare const componentReceived: {
|
|
|
47
47
|
type: "app";
|
|
48
48
|
event: string;
|
|
49
49
|
run(args: {
|
|
50
|
+
input: Record<string, never>;
|
|
50
51
|
options: {
|
|
51
52
|
mentionRoleIds: string[];
|
|
52
53
|
respondToChannelIds: string[];
|
|
@@ -56,7 +57,6 @@ export declare const componentReceived: {
|
|
|
56
57
|
publicKey?: string | undefined;
|
|
57
58
|
botUsername?: string | undefined;
|
|
58
59
|
};
|
|
59
|
-
input: Record<string, never>;
|
|
60
60
|
client: {
|
|
61
61
|
apiUrl: string;
|
|
62
62
|
request: ({ method, path, body, headers, authenticated, redirect, }: import("./client.js").DiscordRequest) => Promise<{
|
|
@@ -84,6 +84,7 @@ export declare const messageCreated: {
|
|
|
84
84
|
type: "app";
|
|
85
85
|
event: string;
|
|
86
86
|
run(args: {
|
|
87
|
+
input: Record<string, never>;
|
|
87
88
|
options: {
|
|
88
89
|
mentionRoleIds: string[];
|
|
89
90
|
respondToChannelIds: string[];
|
|
@@ -93,7 +94,6 @@ export declare const messageCreated: {
|
|
|
93
94
|
publicKey?: string | undefined;
|
|
94
95
|
botUsername?: string | undefined;
|
|
95
96
|
};
|
|
96
|
-
input: Record<string, never>;
|
|
97
97
|
client: {
|
|
98
98
|
apiUrl: string;
|
|
99
99
|
request: ({ method, path, body, headers, authenticated, redirect, }: import("./client.js").DiscordRequest) => Promise<{
|
|
@@ -121,6 +121,7 @@ export declare const reactionAdded: {
|
|
|
121
121
|
type: "app";
|
|
122
122
|
event: string;
|
|
123
123
|
run(args: {
|
|
124
|
+
input: Record<string, never>;
|
|
124
125
|
options: {
|
|
125
126
|
mentionRoleIds: string[];
|
|
126
127
|
respondToChannelIds: string[];
|
|
@@ -130,7 +131,6 @@ export declare const reactionAdded: {
|
|
|
130
131
|
publicKey?: string | undefined;
|
|
131
132
|
botUsername?: string | undefined;
|
|
132
133
|
};
|
|
133
|
-
input: Record<string, never>;
|
|
134
134
|
client: {
|
|
135
135
|
apiUrl: string;
|
|
136
136
|
request: ({ method, path, body, headers, authenticated, redirect, }: import("./client.js").DiscordRequest) => Promise<{
|
|
@@ -158,6 +158,7 @@ export declare const reactionRemoved: {
|
|
|
158
158
|
type: "app";
|
|
159
159
|
event: string;
|
|
160
160
|
run(args: {
|
|
161
|
+
input: Record<string, never>;
|
|
161
162
|
options: {
|
|
162
163
|
mentionRoleIds: string[];
|
|
163
164
|
respondToChannelIds: string[];
|
|
@@ -167,7 +168,6 @@ export declare const reactionRemoved: {
|
|
|
167
168
|
publicKey?: string | undefined;
|
|
168
169
|
botUsername?: string | undefined;
|
|
169
170
|
};
|
|
170
|
-
input: Record<string, never>;
|
|
171
171
|
client: {
|
|
172
172
|
apiUrl: string;
|
|
173
173
|
request: ({ method, path, body, headers, authenticated, redirect, }: import("./client.js").DiscordRequest) => Promise<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frogbotai/piece-discord",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.43.0",
|
|
4
4
|
"description": "Discord tools for FrogBot.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Colby Gilbert",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"frogbot": "0.
|
|
22
|
+
"frogbot": "0.43.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@chat-adapter/discord": "4.40.0",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"typescript": "6.0.3",
|
|
30
|
-
"frogbot": "0.
|
|
30
|
+
"frogbot": "0.43.0"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|