Skip to content

Commit

Permalink
Not found emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt committed Jul 19, 2024
1 parent 1c979cc commit 2ca3700
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected final void execute(SlashCommandEvent event) {
final T data = collectData(event);
if (data == null) return;
if (data.itemAmount() < 1) {
event.reply("No data found!").setEphemeral(true).queue();
event.reply(Emojis.NO_RESULTS.getFormatted() + " No data found!").setEphemeral(true).queue();
return;
}

Expand Down
1 change: 1 addition & 0 deletions src/main/java/net/neoforged/camelot/util/Emojis.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ public class Emojis {
public static final Emoji ADMIN_ABOOZ = MANAGER.getLazyEmoji("adminabooz");
public static final Emoji CMDLINE = MANAGER.getLazyEmoji("cmdline");
public static final Emoji ADD = MANAGER.getLazyEmoji("add");
public static final Emoji NO_RESULTS = MANAGER.getLazyEmoji("noresults");
}
1 change: 1 addition & 0 deletions src/main/resources/emojis/emojis.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ snooze=snooze.png
gist=gist.png
cmdline=cmdline.png
add=add.png
noresults=noresults.png

# Pagination
prevpage=prevpage.png
Expand Down
Binary file added src/main/resources/emojis/noresults.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2ca3700

Please sign in to comment.