@alemonjs/qq-bot 0.0.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/README.md +37 -0
- package/lib/api.js +1172 -0
- package/lib/client.js +176 -0
- package/lib/config.js +3 -0
- package/lib/from.js +44 -0
- package/lib/index.js +396 -0
- package/lib/webhook.js +53 -0
- package/package.json +57 -0
package/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# [https://alemonjs.com/](https://alemonjs.com/)
|
|
2
|
+
|
|
3
|
+
跨平台开发的事件驱动机器人
|
|
4
|
+
|
|
5
|
+
## USE
|
|
6
|
+
|
|
7
|
+
- qq-bot
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
yarn add @alemonjs/qq-bot
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
- alemon.config.yaml
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
qq-bot:
|
|
17
|
+
# 编号
|
|
18
|
+
app_id: ''
|
|
19
|
+
# 令牌
|
|
20
|
+
token: ''
|
|
21
|
+
# 密钥
|
|
22
|
+
secret: ''
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
qq-group-bot:
|
|
27
|
+
master_key:
|
|
28
|
+
- ''
|
|
29
|
+
# 默认(请使用nginx进行代理)
|
|
30
|
+
port: 17157
|
|
31
|
+
# 如果在服务器也启动了机器人,可以进行互相调用
|
|
32
|
+
ws: 'ws://...'
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Community
|
|
36
|
+
|
|
37
|
+
QQ Group 806943302
|