@saykit/carbon 0.2.1 → 0.6.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/README.md +3 -7
- package/dist/index.d.mts +1 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -33,13 +33,9 @@ class PingCommand extends withSay(Command) {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
const client = new Client(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
},
|
|
40
|
-
{ commands: [new PingCommand(say)] },
|
|
41
|
-
[new SayPlugin(say)],
|
|
42
|
-
);
|
|
36
|
+
const client = new Client({/* options */}, { commands: [new PingCommand(say)] }, [
|
|
37
|
+
new SayPlugin(say),
|
|
38
|
+
]);
|
|
43
39
|
```
|
|
44
40
|
|
|
45
41
|
## Documentation
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { APIInteraction, BaseCommand, BaseComponent, Modal, Plugin } from "@buape/carbon";
|
|
2
2
|
import { Say } from "saykit";
|
|
3
|
-
|
|
4
3
|
//#region src/constants.d.ts
|
|
5
4
|
declare const kSay: unique symbol;
|
|
6
5
|
//#endregion
|
|
@@ -62,4 +61,4 @@ declare class SayPlugin extends Plugin {
|
|
|
62
61
|
constructor(say: Say);
|
|
63
62
|
}
|
|
64
63
|
//#endregion
|
|
65
|
-
export { SayPlugin, applyBaseInteractionExtension, applyGuildExtension, withSay };
|
|
64
|
+
export { SayPlugin, type applyBaseInteractionExtension, type applyGuildExtension, withSay };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saykit/carbon",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Carbon Discord framework integration for saykit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bot",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@buape/carbon": "0.16.0",
|
|
39
|
-
"saykit": "^0.
|
|
39
|
+
"saykit": "^0.6.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@buape/carbon": "*",
|