Skip to content

Commit

Permalink
Fix JDA update error
Browse files Browse the repository at this point in the history
  • Loading branch information
DxsSucuk committed Nov 5, 2024
1 parent 7dfc411 commit 453e307
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ public void endReceiving() {
.setTitle(LanguageService.getByGuild(audioChannelUnion.getGuild(), "label.recording.finished").block())
.build())
.setActionRow(
new ButtonImpl("ree6RedirectButton", LanguageService.getByGuild(audioChannelUnion.getGuild(), "label.download").block(), ButtonStyle.LINK,
BotConfig.getRecordingUrl() + "?id=" + recording.getIdentifier(), false, Emoji.fromCustom("shiba", 941219375535509504L, true)),
Button.of(ButtonStyle.LINK, BotConfig.getRecordingUrl() + "?id=" + recording.getIdentifier(),
LanguageService.getByGuild(audioChannelUnion.getGuild(), "label.download").block(), Emoji.fromCustom("shiba", 941219375535509504L, true)),
Button.primary("r_recordingDownload:" + recording.getIdentifier(), Emoji.fromCustom("sip", 1011956355810209852L, false))
.withLabel(LanguageService.getByGuild(audioChannelUnion.getGuild(), "label.sendToChat").block()).withDisabled(!BotConfig.allowRecordingInChat())).complete();
}
Expand Down

0 comments on commit 453e307

Please sign in to comment.