mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
细节优化
This commit is contained in:
parent
198d963ca4
commit
d664320c59
1 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ export class Panel extends ZZZPlugin {
|
||||||
const uid = await this.getUID();
|
const uid = await this.getUID();
|
||||||
this.setContext('toBindDevice');
|
this.setContext('toBindDevice');
|
||||||
await this.reply(
|
await this.reply(
|
||||||
`为UID ${uid}绑定设备,请发送设备信息,或者发送“取消”取消绑定`,
|
`为UID ${uid}绑定设备,请发送设备信息(建议私聊发送),或者发送“取消”取消绑定`,
|
||||||
false,
|
false,
|
||||||
{ at: true, recallMsg: 100 }
|
{ at: true, recallMsg: 100 }
|
||||||
);
|
);
|
||||||
|
|
@ -85,7 +85,7 @@ export class Panel extends ZZZPlugin {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
logger.debug(`[LTUID:${ltuid}]绑定设备成功,deviceFp:${deviceFp}`);
|
logger.debug(`[LTUID:${ltuid}]绑定设备成功,deviceFp:${deviceFp}`);
|
||||||
await this.reply('绑定设备成功', false, { at: true, recallMsg: 100 });
|
await this.reply(`绑定设备成功${this.e.isGroup ? '\n请撤回设备信息' : ''}`, false, { at: true, recallMsg: 100 });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.reply('设备信息格式错误', false, { at: true, recallMsg: 100 });
|
this.reply('设备信息格式错误', false, { at: true, recallMsg: 100 });
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue