oops
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m25s

This commit is contained in:
Lee 2024-08-22 20:47:11 +01:00
parent df9b0e2604
commit f291344c45

@ -9,6 +9,7 @@ import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.Message; import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.entities.channel.middleman.MessageChannel; import net.dv8tion.jda.api.entities.channel.middleman.MessageChannel;
import net.dv8tion.jda.api.interactions.commands.SlashCommandInteraction; import net.dv8tion.jda.api.interactions.commands.SlashCommandInteraction;
import org.springframework.stereotype.Component;
import java.util.Random; import java.util.Random;
@ -20,6 +21,7 @@ import java.util.Random;
description = "Flips a coin", description = "Flips a coin",
userInstall = true userInstall = true
) )
@Component
public class CoinFlipCommand extends BatCommand { public class CoinFlipCommand extends BatCommand {
@Override @Override
public void execute(BatGuild guild, @NonNull BatUser user, @NonNull MessageChannel channel, Member member, public void execute(BatGuild guild, @NonNull BatUser user, @NonNull MessageChannel channel, Member member,