utilitas 1999.1.49 → 1999.1.51
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 -16
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +1 -0
- package/lib/bot.mjs +13 -1097
- package/lib/manifest.mjs +1 -1
- package/lib/tape.mjs +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -93,30 +93,17 @@ Works in Node.js and modern browsers.
|
|
|
93
93
|
|
|
94
94
|
| symbol | type | params / value |
|
|
95
95
|
| :--- | :--- | :--- |
|
|
96
|
-
| _NEED | Array |
|
|
96
|
+
| _NEED | Array | telegraf |
|
|
97
97
|
| default | AsyncFunction | options |
|
|
98
|
-
| BINARY_STRINGS | Array | off,on |
|
|
99
|
-
| COMMAND_DESCRIPTION_LENGTH | Number | 256 |
|
|
100
|
-
| COMMAND_LENGTH | Number | 32 |
|
|
101
|
-
| COMMAND_LIMIT | Number | 100 |
|
|
102
|
-
| EMOJI_BOT | String | 🤖 |
|
|
103
|
-
| EMOJI_SPEECH | String | 👂 |
|
|
104
98
|
| EMOJI_THINKING | String | 💬 |
|
|
105
|
-
|
|
|
106
|
-
| HELLO | String | Hello! |
|
|
107
|
-
| MESSAGE_LENGTH_LIMIT | Number | 4096 |
|
|
108
|
-
| MESSAGE_SOFT_LIMIT | Number | 3891 |
|
|
109
|
-
| PRIVATE_LIMIT | Number | 1000 |
|
|
99
|
+
| MESSAGE_LENGTH_LIMIT | Number | 3891 |
|
|
110
100
|
| end | AsyncFunction | async, options |
|
|
111
101
|
| init | AsyncFunction | options |
|
|
112
102
|
| lines | Function | arr, sep |
|
|
113
|
-
| lines2 | Function | arr |
|
|
114
|
-
| newCommand | Function | command, description |
|
|
115
|
-
| oList | Function | arr, k |
|
|
116
103
|
| paging | Function | message, options |
|
|
104
|
+
| parse_mode | String | Markdown |
|
|
117
105
|
| send | AsyncFunction | chatId, content, options |
|
|
118
106
|
| sendMd | Function | cId, cnt, opt |
|
|
119
|
-
| uList | Function | arr |
|
|
120
107
|
|
|
121
108
|
### [boxes](./lib/boxes.mjs)
|
|
122
109
|
|