Skip to content

Commit

Permalink
Fix add request post type error.
Browse files Browse the repository at this point in the history
  • Loading branch information
yyuueexxiinngg committed Aug 12, 2020
1 parent 339e90a commit e7a47bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/tech/mihoyo/mirai/data/common/BotEventDTO.kt
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ data class CQFriendRequestEventDTO(
val flag: String,
override var time: Long
) : CQBotEventDTO() {
override var post_type: String = "notice"
override var post_type: String = "request"
val request_type: String = "friend"
}

Expand All @@ -286,6 +286,6 @@ data class CQGroupMemberAddRequestEventDTO(
val flag: String,
override var time: Long
) : CQBotEventDTO() {
override var post_type: String = "notice"
override var post_type: String = "request"
val request_type: String = "group"
}

0 comments on commit e7a47bc

Please sign in to comment.