Skip to content

Commit

Permalink
fix(qq): wrong schema type
Browse files Browse the repository at this point in the history
  • Loading branch information
XxLittleCxX committed Jan 23, 2024
1 parent 15d693b commit 1dc006c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/qq/src/bot/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export namespace QQBot {
endpoint: Schema.string().role('link').description('要连接的服务器地址。').default('https://api.sgroup.qq.com/'),
authType: Schema.union(['bot', 'bearer'] as const).description('采用的验证方式。').default('bot'),
intents: Schema.bitset(QQ.Intents).description('需要订阅的机器人事件。'),
retryWhen: Schema.array(Schema.number()).description('发送消息遇到平台错误码时重试').default([]),
retryWhen: Schema.array(Number).description('发送消息遇到平台错误码时重试').default([]),
}),
WsClient.Config,
] as const)
Expand Down

0 comments on commit 1dc006c

Please sign in to comment.