This commit is contained in:
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.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,
|
||||
|
Loading…
Reference in New Issue
Block a user