This commit is contained in:
2025-05-02 15:39:44 +08:00
parent e58adbc46b
commit ee483aa87e
32 changed files with 919 additions and 621 deletions

View File

@@ -1,5 +1,9 @@
import { client } from '../common.ts';
import { client, program } from '../common.ts';
client.getUnread().then((res) => {
console.log(res);
});
const getUnread = () => {
client.getUnread().then((res) => {
console.log(res);
});
};
program.command('unread').description('获取未读消息').action(getUnread);