Create data/config/platform.json
Browse files- data/config/platform.json +15 -0
data/config/platform.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"platform-adapters": [
|
| 3 |
+
{
|
| 4 |
+
"adapter": "qq-botpy",
|
| 5 |
+
"enable": true, // 改为true启用适配器
|
| 6 |
+
"appid": "102564116", // 填入你的QQ机器人APPID
|
| 7 |
+
"secret": "RMHC72yuqmieaWTQNKHEB97531zxwvut", // 填入你的QQ机器人secret
|
| 8 |
+
"intents": [
|
| 9 |
+
"public_guild_messages", // 接收频道消息
|
| 10 |
+
"direct_message", // 接收频道私聊
|
| 11 |
+
"public_messages" // 接收群消息和私聊
|
| 12 |
+
]
|
| 13 |
+
}
|
| 14 |
+
]
|
| 15 |
+
}
|