Methods
guild.message
- guild.message(event: GuildMessageEvent): void
internal.input
- internal.input(event: { end: boolean; user_id: number }): void
Parameters
event: { end: boolean; user_id: number }
end: boolean
user_id: number
Returns void
internal.sso
- internal.sso(cmd: string, payload: Buffer, seq: number): void
Parameters
cmd: string
payload: Buffer
seq: number
Returns void
sync.read
- sync.read(event: { time: number; user_id: number } | { group_id: number; seq: number }): void
Parameters
event: { time: number; user_id: number } | { group_id: number; seq: number }
Returns void
sync.read.group
- sync.read.group(event: { group_id: number; seq: number }): void
Parameters
event: { group_id: number; seq: number }
group_id: number
seq: number
Returns void
sync.read.private
- sync.read.private(event: { time: number; user_id: number }): void
Parameters
event: { time: number; user_id: number }
time: number
user_id: number
Returns void
system.login.device
- system.login.device(event: { phone: string; url: string }): void
Parameters
event: { phone: string; url: string }
Returns void
system.login.error
- system.login.error(event: { code: number; message: string }): void
Parameters
event: { code: number; message: string }
code: number
message: string
Returns void
system.login.qrcode
- system.login.qrcode(event: { image: Buffer }): void
system.login.slider
- system.login.slider(event: { url: string }): void
system.offline
- system.offline(event: { message: string }): void
Parameters
event: { message: string }
Returns void
system.offline.kickoff
- system.offline.kickoff(event: { message: string }): void
Parameters
event: { message: string }
Returns void
system.offline.network
- system.offline.network(event: { message: string }): void
Parameters
event: { message: string }
Returns void
system.online
- system.online(event: undefined): void
事件地图