diff options
Diffstat (limited to 'src/main/java/net/uomc/mineshaft/farm/CompostCommand.java')
| -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; } |
