towns-bot 0.0.358 → 0.0.360
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 -5
- package/dist/index.js +4 -1079
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1106
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -22,16 +22,14 @@ This will create a new bot project with the default quickstart template.
|
|
|
22
22
|
|
|
23
23
|
Any template from the [examples](https://github.com/towns-protocol/towns/tree/main/packages/examples) directory can be used.
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
We currently have the following:
|
|
26
26
|
|
|
27
27
|
- `quickstart` (default) - Simple starter bot with basic commands
|
|
28
|
-
- `thread-ai` - AI-powered conversational bot using OpenAI
|
|
29
|
-
- `poll` - Interactive poll bot for creating votes
|
|
30
28
|
|
|
31
29
|
To use a specific template:
|
|
32
30
|
|
|
33
31
|
```bash
|
|
34
|
-
npx towns-bot init my-ai-bot --template
|
|
32
|
+
npx towns-bot init my-ai-bot --template quickstart
|
|
35
33
|
```
|
|
36
34
|
|
|
37
35
|
### Update dependencies
|
|
@@ -52,7 +50,7 @@ Create a new bot project.
|
|
|
52
50
|
|
|
53
51
|
Options:
|
|
54
52
|
|
|
55
|
-
- `-t, --template <name>` -
|
|
53
|
+
- `-t, --template <name>` - Name of template to use
|
|
56
54
|
|
|
57
55
|
### `towns-bot update`
|
|
58
56
|
|