Skip to content

Commit

Permalink
feat(core): attach time to send event
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Feb 24, 2020
1 parent 8285c64 commit ef8a284
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/koishi-core/src/sender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export class Sender {
postType: 'send',
userId: this.app.selfId,
[$ctxType + 'Id']: $ctxId,
time: Math.round(Date.now() / 1000),
} as Meta<'send'>
}

Expand Down

0 comments on commit ef8a284

Please sign in to comment.