generated from tailored/router-template
10 lines
223 B
TypeScript
10 lines
223 B
TypeScript
import { client, program } from '../common.ts';
|
|
|
|
const getUnread = () => {
|
|
client.getUnread().then((res) => {
|
|
console.log(res);
|
|
});
|
|
};
|
|
|
|
program.command('unread').description('获取未读消息').action(getUnread);
|