|
|
@ -5,10 +5,10 @@ import java.util.List;
|
|
|
|
import java.util.Random;
|
|
|
|
import java.util.Random;
|
|
|
|
import me.goudham.command.annotation.Option;
|
|
|
|
import me.goudham.command.annotation.Option;
|
|
|
|
import me.goudham.command.annotation.SlashCommand;
|
|
|
|
import me.goudham.command.annotation.SlashCommand;
|
|
|
|
|
|
|
|
import me.goudham.domain.Pair;
|
|
|
|
import net.dv8tion.jda.api.events.interaction.SlashCommandEvent;
|
|
|
|
import net.dv8tion.jda.api.events.interaction.SlashCommandEvent;
|
|
|
|
import net.dv8tion.jda.api.interactions.commands.OptionMapping;
|
|
|
|
import net.dv8tion.jda.api.interactions.commands.OptionMapping;
|
|
|
|
import net.dv8tion.jda.api.interactions.commands.OptionType;
|
|
|
|
import net.dv8tion.jda.api.interactions.commands.OptionType;
|
|
|
|
import org.graalvm.collections.Pair;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@SlashCommand(
|
|
|
|
@SlashCommand(
|
|
|
|
name = "owo",
|
|
|
|
name = "owo",
|
|
|
@ -28,16 +28,16 @@ public class OwO {
|
|
|
|
|
|
|
|
|
|
|
|
public OwO() {
|
|
|
|
public OwO() {
|
|
|
|
this.prefixAndSuffixList = List.of(
|
|
|
|
this.prefixAndSuffixList = List.of(
|
|
|
|
Pair.create("H-hewwo?? ", " :D"),
|
|
|
|
new Pair<>("H-hewwo?? ", " :D"),
|
|
|
|
Pair.create("Huohhhh. ", " >_<"),
|
|
|
|
new Pair<>("Huohhhh. ", " >_<"),
|
|
|
|
Pair.create("Huohhhh. ", " >_>"),
|
|
|
|
new Pair<>("Huohhhh. ", " >_>"),
|
|
|
|
Pair.create("UwU ", " ʕ•̫͡•ʔ"),
|
|
|
|
new Pair<>("UwU ", " ʕ•̫͡•ʔ"),
|
|
|
|
Pair.create("UwU ", " ;-;"),
|
|
|
|
new Pair<>("UwU ", " ;-;"),
|
|
|
|
Pair.create("OwO ", " :P"),
|
|
|
|
new Pair<>("OwO ", " :P"),
|
|
|
|
Pair.create("OwO ", " (;ω;)"),
|
|
|
|
new Pair<>("OwO ", " (;ω;)"),
|
|
|
|
Pair.create("OWO ", " x3"),
|
|
|
|
new Pair<>("OWO ", " x3"),
|
|
|
|
Pair.create("Haiiii! ", " ÙωÙ"),
|
|
|
|
new Pair<>("Haiiii! ", " ÙωÙ"),
|
|
|
|
Pair.create("HIII! ", " (^v^)")
|
|
|
|
new Pair<>("HIII! ", " (^v^)")
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -65,8 +65,8 @@ public class OwO {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Pair<String, String> randomPrefixAndSuffix = getRandomPrefixAndSuffix();
|
|
|
|
Pair<String, String> randomPrefixAndSuffix = getRandomPrefixAndSuffix();
|
|
|
|
outputText.insert(0, randomPrefixAndSuffix.getLeft());
|
|
|
|
outputText.insert(0, randomPrefixAndSuffix.left());
|
|
|
|
outputText.append(randomPrefixAndSuffix.getRight());
|
|
|
|
outputText.append(randomPrefixAndSuffix.right());
|
|
|
|
|
|
|
|
|
|
|
|
slashCommandEvent.reply(outputText.toString()).queue();
|
|
|
|
slashCommandEvent.reply(outputText.toString()).queue();
|
|
|
|
}
|
|
|
|
}
|
|
|
|