Skip to content

Commit f51de46

Browse files
committed
Fix missing key
That's been broken for a long time :|
1 parent 0de2a9e commit f51de46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ninbot-app/src/main/java/dev/nincodedo/ninbot/components/subscribe/SubscribeCommand.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ public MessageExecutor execute(@NotNull SlashCommandInteractionEvent event,
4848
event.getInteraction().getHook().editOriginal(Emojis.CROSS_X).queue();
4949
}
5050
} else {
51-
messageExecutor.addEphemeralMessage(resourceBundle().getString(""));
51+
messageExecutor.addEphemeralMessage(String.format(resourceBundle().getString("command.subscribe"
52+
+ ".norolefound"), publicRole.getName()));
5253
}
5354
return messageExecutor;
5455
}

0 commit comments

Comments
 (0)