forked from Fascinated/Bat
oops
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.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,
|
||||||
|
Loading…
Reference in New Issue
Block a user