diff options
| author | davidovski <david@davidovski.xyz> | 2025-11-04 17:35:30 +0000 |
|---|---|---|
| committer | davidovski <david@davidovski.xyz> | 2025-11-04 17:35:30 +0000 |
| commit | 2e47a68b69fac942e4efd7b90f248e15f02f6a82 (patch) | |
| tree | 1753ffc8604689a97f02409efc17f297596bbc4f /src/main/java/net/uomc/mineshaft/farm | |
| parent | 5a008748459e230de0e875afff59e3b92c7aca0c (diff) | |
update v0.6 pre
Diffstat (limited to 'src/main/java/net/uomc/mineshaft/farm')
| -rw-r--r-- | src/main/java/net/uomc/mineshaft/farm/CompostCommand.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/net/uomc/mineshaft/farm/CompostCommand.java b/src/main/java/net/uomc/mineshaft/farm/CompostCommand.java index ce5deea..79e41ee 100644 --- a/src/main/java/net/uomc/mineshaft/farm/CompostCommand.java +++ b/src/main/java/net/uomc/mineshaft/farm/CompostCommand.java @@ -10,6 +10,7 @@ import java.util.concurrent.atomic.AtomicLong; import com.mouldycheerio.dbot.commands.CommandDetails; import com.mouldycheerio.dbot.commands.cooldowns.CooldownCommand; import com.mouldycheerio.dbot.util.PeelingUtils; +import com.vdurmont.emoji.EmojiParser; import net.dv8tion.jda.api.EmbedBuilder; import net.dv8tion.jda.api.entities.Member; @@ -86,6 +87,10 @@ public class CompostCommand extends CooldownCommand { em.setColor(COMMAND_COLOUR); em.setThumbnail(COMMAND_IMAGE); + if (composters == 0) { + em.setFooter(EmojiParser.parseToUnicode(":bulb:") + "Craft more composters to compost more at a time! "); + } + e.getMessage().replyEmbeds(em.build()).queue(); return false; } |
