From f291344c4567a53d4c340e296153a13ed5c99935 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 22 Aug 2024 20:47:11 +0100 Subject: [PATCH] oops --- .../bat/features/base/commands/fun/CoinFlipCommand.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/cc/fascinated/bat/features/base/commands/fun/CoinFlipCommand.java b/src/main/java/cc/fascinated/bat/features/base/commands/fun/CoinFlipCommand.java index c3397a9..296f906 100644 --- a/src/main/java/cc/fascinated/bat/features/base/commands/fun/CoinFlipCommand.java +++ b/src/main/java/cc/fascinated/bat/features/base/commands/fun/CoinFlipCommand.java @@ -9,6 +9,7 @@ import net.dv8tion.jda.api.entities.Member; import net.dv8tion.jda.api.entities.Message; import net.dv8tion.jda.api.entities.channel.middleman.MessageChannel; import net.dv8tion.jda.api.interactions.commands.SlashCommandInteraction; +import org.springframework.stereotype.Component; import java.util.Random; @@ -20,6 +21,7 @@ import java.util.Random; description = "Flips a coin", userInstall = true ) +@Component public class CoinFlipCommand extends BatCommand { @Override public void execute(BatGuild guild, @NonNull BatUser user, @NonNull MessageChannel channel, Member member,