OsuStatus status = osu.getClientStatus();
if (player != null && status != null && status.getType() == Type.PLAYING) {
String formatted =</BUG>
String.format(OsuResponses.NOW_PLAYING, player.getPlayer().getUserName(),
<BUG>player.getPlayer().getUserId(), status.getDetail());

Integer beatmapId = osu.getBeatmapId(status.getDetail());
</BUG>
if (beatmapId != null) {
formatted += " https://osu.ppy.sh/b/" + beatmapId;

OsuStatus status = osu.getClientStatus();
String detail = status.getDetail();
if (status.getType() != Type.PLAYING || detail == null) {
return;
}
String formatted =
String.format(OsuResponses.NOW_PLAYING, player.getPlayer().getUserName(),
player.getPlayer().getUserId(), detail);
Integer beatmapId = osu.getBeatmapId(detail);
if (beatmapId != null) {
formatted += " https://osu.ppy.sh/b/" + beatmapId;
