All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.chikyukido.nyaapplet.NyaApplet Maven / Gradle / Ivy

There is a newer version: 0.17.31
Show newest version
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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy