Skip to content

Commit

Permalink
fix(qq): remove timestamp in type Request (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilharp authored Dec 21, 2023
1 parent 00966c8 commit aaea140
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion adapters/qq/src/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ export class QQMessageEncoder<C extends Context = Context> extends MessageEncode
const data: QQ.Message.Request = {
content: this.content,
msg_type: QQ.Message.Type.TEXT,
timestamp: Math.floor(Date.now() / 1000),
msg_id,
msg_seq,
}
Expand Down
1 change: 0 additions & 1 deletion adapters/qq/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,6 @@ export namespace Message {
event_id?: string
msg_id?: string
msg_seq?: number
timestamp: number
media?: Partial<File.Response>
}

Expand Down

0 comments on commit aaea140

Please sign in to comment.