Skip to content

Commit

Permalink
依存ライブラリの更新
Browse files Browse the repository at this point in the history
  • Loading branch information
kosugikun committed Dec 15, 2024
1 parent 60ed985 commit c5d0629
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<dependency>
<groupId>dev.lavalink.youtube</groupId>
<artifactId>v2</artifactId>
<version>1.8.3</version>
<version>1.11.1</version>
</dependency>
<dependency>
<groupId>com.github.Cosgy-Dev</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ public void doCommand(CommandEvent event) {
builder.setText((i1, i2) -> getQueueTitle(ah, event.getClient().getSuccess(), songs.length, finTotal, settings.getRepeatMode()))
.setItems(songs)
.setUsers(event.getAuthor())
.setColor(event.getSelfMember().getColor())
;
.setColor(event.getSelfMember().getColor());

builder.build().paginate(event.getChannel(), pagenum);
}

Expand All @@ -130,7 +130,7 @@ public void doCommand(SlashCommandEvent event) {
}
MessageCreateData nonowp = ah.getNoMusicPlaying(event.getJDA());
MessageEditData built = new MessageEditBuilder()
.setContent(client.getWarning() + " 再生待ちの楽曲はありません。")
.setContent(event.getClient().getWarning() + " 再生待ちの楽曲はありません。")
.setEmbeds((nowp == null ? nonowp : nowp).getEmbeds().get(0)).build();
m.editOriginal(built).queue();
return;
Expand Down

0 comments on commit c5d0629

Please sign in to comment.