halbot 1990.1.41 → 1990.1.43

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.
Files changed (2) hide show
  1. package/README.md +10 -22
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -164,39 +164,27 @@ const config = {
164
164
 
165
165
  // OPTIONAL, object (key renderd as name) or array (name ignored).
166
166
  ai: {
167
- [[aiNameA]]: [[aiClientA]]
167
+ [[aiNameA]]: [[aiClientA]],
168
168
  [[aiNameB]]: [[aiClientB]],
169
169
  },
170
170
 
171
171
  // OPTIONAL, object.
172
172
  // Your own speech-to-text and text-to-speech engine.
173
173
  speech: {
174
- stt: [[stt api]],
175
- tts: [[tts api]],
174
+ stt: [[sttApi]],
175
+ tts: [[ttsApi]],
176
176
  },
177
177
 
178
178
  // OPTIONAL, object.
179
179
  // Your own computer-vision engine.
180
180
  vision {
181
- see: [[ocr/object_detect api]]
181
+ see: [[OcrObjectDetectApi]],
182
182
  },
183
183
 
184
184
  // OPTIONAL, string.
185
185
  // Path to your own middlewares.
186
- // ./skills
187
- // |- skill_a.mjs
188
- // | const action = async (bot) => {
189
- // | bot.use(async (ctx, next) => {
190
- // | ctx.reply('42');
191
- // | await next();
192
- // | });
193
- // | };
194
- // |
195
- // | export const { run, priority, func } = {
196
- // | run: true,
197
- // | priority: 100,
198
- // | func: action,
199
- // | };
186
+
187
+
200
188
  skillPath: './skills',
201
189
 
202
190
  // OPTIONAL, object.
@@ -219,14 +207,14 @@ const config = {
219
207
  args: {
220
208
  [[argA]]: {
221
209
  type: 'string',
222
- short: [[short cut]],
223
- default: [[default value]],
210
+ short: [[shortCut]],
211
+ default: [[defaultValue]],
224
212
  desc: [[description]],
225
213
  },
226
214
  [[argB]]: {
227
215
  type: 'binary',
228
- short: [[short cut]],
229
- default: [[default value]],
216
+ short: [[shortCut]],
217
+ default: [[defaultValue]],
230
218
  desc: [[description]],
231
219
  },
232
220
  ...[[OTHER ARGS]],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "halbot",
3
3
  "description": "Just another ChatGPT/Bing Chat Telegram bob, which is simple design, easy to use, extendable and fun.",
4
- "version": "1990.1.41",
4
+ "version": "1990.1.43",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/halbot",
7
7
  "type": "module",