Hinzufügen !add, !info und !detail

This commit is contained in:
Ocame
2019-02-18 06:20:00 +01:00
parent 8828692fb1
commit db63c3dfa7
4 changed files with 328 additions and 122 deletions

View File

@ -1,7 +1,7 @@
package core;
import AtlasGruppe.groupchange;
import Serenity.balance;
import net.dv8tion.jda.core.JDA;
import net.dv8tion.jda.core.JDABuilder;
import net.dv8tion.jda.core.AccountType;
@ -16,15 +16,17 @@ public class Main {
public static void main(String[] args) {
// Insert your bot's token here
String token = "NDA1MDQ2NDg1OTk0OTYyOTQ2.DUessg.YFKvsTLIyPwprLlEOnZc0PXWJH0";
String token = "NTQ2ODk5MzYwMDEzODc3MjU4.D0u8wA.VfA2vJzundVhCl1-ibDiBaKuA8w";
// iro
//String token = "NTQ2NzEwODUwOTIxMjk5OTc5.D0sL6A.1fUd5iBr3eo2tbPXofEqyumDm6w";
JDABuilder builder = new JDABuilder(AccountType.BOT);
builder.setToken(token);
builder.setAutoReconnect(true);
builder.setStatus(OnlineStatus.ONLINE);
builder.setGame(Game.watching("Den NinjaSäuen zu"));
builder.addEventListener(new groupchange());
builder.setGame(Game.playing("mit den Würfeln"));
builder.addEventListener(new balance());
try {
JDA jda = builder.build();