Skip to content

Commit

Permalink
chore: bump to 0.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
R2turnTrue committed Nov 5, 2024
1 parent 157164c commit bb27cfd
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repositories {
}

dependencies {
implementation("io.github.R2turnTrue:chzzk4j:0.0.10")
implementation("io.github.R2turnTrue:chzzk4j:0.0.11")
}
```

Expand Down Expand Up @@ -109,6 +109,16 @@ ChzzkChat chat = chzzk.chat("7f148028d1b8b3feab3a5442badded46")

System.out.println("[Subscription] " + msg.getProfile().getNickname() + ": [" + msg.getSubscriptionMonth() + "개월 " + msg.getSubscriptionTierName() + "]");
}

@Override
public void onMissionDonationChat(MissionDonationMessage msg) {
if (msg.getProfile() == null) {
System.out.println("[Mission] 익명: " + msg.getMissionText() + ": [" + msg.getPayAmount() + "원]");
return;
}

System.out.println("[Mission] 익명: " + msg.getMissionText() + ": [" + msg.getPayAmount() + "원]");
}
})
.build();

Expand Down

0 comments on commit bb27cfd

Please sign in to comment.