mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-11 08:03:21 +08:00
fix: remember direct recipients for connection tests
This commit is contained in:
parent
fb61c4235f
commit
3ac70a7c65
34 changed files with 397 additions and 178 deletions
|
|
@ -31,7 +31,7 @@ export function connectionTestMessage(botName, channelLabel = '机器人') {
|
|||
}
|
||||
|
||||
export function connectionTestTargetUnavailable(channelLabel = '机器人') {
|
||||
const error = new Error(`请先私聊${channelLabel}发送 /status,再点击“检查连接”。`);
|
||||
const error = new Error(`${channelLabel}尚未收到可用于测试的私聊消息。`);
|
||||
error.code = 'test-target-unavailable';
|
||||
return error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue