io.github.chikyukido.nyaapplet.NyaApplet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of NyaApplet Show documentation
Show all versions of NyaApplet Show documentation
An applet that can send in anime pics from different sources.
package io.github.chikyukido.nyaapplet;
import io.github.chikyukido.appletmanager.applet.Applet;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.JDABuilder;
import org.springframework.stereotype.Component;
/**
* An applet to get cute anime picture from different sources.
*
* @author Chikyu Kido
*/
@Component
public class NyaApplet extends Applet {
public NyaApplet() {
super("Nya Applet", "Chikyu Kido", "A applet to get cute anime picture with various tags",
"https://github.com/ChikyuKido/NyaApplet", "0.17.2", "0.19.8", "0.20.1");
}
@Override
public void init(JDABuilder jdaBuilder) {
}
@Override
public EmbedBuilder getInfo() {
return super.getInfo()
.addField("Commands", "/nya img {nsfw} {tag} to get an image\n" +
"/nya available-types to see the available type", false);
}
}