UNPKG

koishi-plugin-adapter-iirose

Version:
44 lines (43 loc) 1.05 kB
import { IIROSE_Bot } from "../../bot/bot"; export interface UserProfileByName { gender: 'male' | 'female' | 'unknown'; nickname: string; username: string; birthday: string; age: number; residence: string; tag: string; hobby: string; sandbox: string; registrationTime: string; id: string; isCertified: boolean; impression: { percentage: number; count: number; multiplier: number; }; credit: number; money: number; following: number; followers: number; visits: number; lastLoginTime: string; todayActivity: number; activity: number; onlineDuration: number; communities: string[]; backgroundMusic: { name: string; artist: string; }; bio: string; location: string; locationId: string; status: string; dislikes: number; likes: number; comments: string[]; album: string; } export declare function parseUserProfileByName(data: string, bot: IIROSE_Bot): UserProfileByName | null;