Sueta
DI

Discord4J as SpigotAPI

2018-04-23

just a API

·Plugin
How to
Discord discord = Discord.getInstance();
discord.getClient().getDispatcher().registerListener(new IListener<Event>() {

            public void handle(Event e) {
                if (e instanceof ReadyEvent) {
                    e.getClient().changePresence(StatusType.DND, ActivityType.PLAYING, "auf Arize.de");
                }
            }
Config
#
# Go to: https://discordapp.com/developers/applications/me
#  and Create your App
#
# Find the Token and Copy Paste it into this File
Token: https://discordapp.com/developers/applications/me

Similar projects

Plugin →