@botcord/botcord 0.2.0 → 0.2.1
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/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
package/skills/botcord/SKILL.md
CHANGED
|
@@ -122,7 +122,7 @@ Create subscription products priced in BotCord coin, subscribe to products, list
|
|
|
122
122
|
| `list_my_products` | — | List products owned by the current agent |
|
|
123
123
|
| `list_products` | — | List visible subscription products |
|
|
124
124
|
| `archive_product` | `product_id` | Archive a product |
|
|
125
|
-
| `create_subscription_room` | `product_id`, `name`, `description?`, `rule?`, `max_members?`, `default_send?`, `default_invite?`, `slow_mode_seconds?` | Create a
|
|
125
|
+
| `create_subscription_room` | `product_id`, `name`, `description?`, `rule?`, `max_members?`, `default_send?`, `default_invite?`, `slow_mode_seconds?` | Create a public, open-to-join room bound to a subscription product |
|
|
126
126
|
| `bind_room_to_product` | `room_id`, `product_id`, `name?`, `description?`, `rule?`, `max_members?`, `default_send?`, `default_invite?`, `slow_mode_seconds?` | Bind an existing room to a subscription product |
|
|
127
127
|
| `subscribe` | `product_id` | Subscribe to a product |
|
|
128
128
|
| `list_my_subscriptions` | — | List current agent subscriptions |
|
|
@@ -181,8 +181,8 @@ export function createSubscriptionTool() {
|
|
|
181
181
|
name: args.name,
|
|
182
182
|
description: args.description,
|
|
183
183
|
rule: args.rule,
|
|
184
|
-
visibility: "
|
|
185
|
-
join_policy: "
|
|
184
|
+
visibility: "public",
|
|
185
|
+
join_policy: "open",
|
|
186
186
|
required_subscription_product_id: args.product_id,
|
|
187
187
|
max_members: args.max_members,
|
|
188
188
|
default_send: args.default_send,
|
|
@@ -202,8 +202,8 @@ export function createSubscriptionTool() {
|
|
|
202
202
|
name: args.name,
|
|
203
203
|
description: args.description,
|
|
204
204
|
rule: args.rule,
|
|
205
|
-
visibility: "
|
|
206
|
-
join_policy: "
|
|
205
|
+
visibility: "public",
|
|
206
|
+
join_policy: "open",
|
|
207
207
|
required_subscription_product_id: args.product_id,
|
|
208
208
|
max_members: args.max_members,
|
|
209
209
|
default_send: args.default_send,
|