Merge pull request #2 from angelsflyinhell/master

hold up
This commit is contained in:
nora 2021-01-19 12:39:19 +01:00 committed by GitHub
commit 14e1e69cbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -3,6 +3,8 @@ package com.github.nilstrieb.core;
import com.github.nilstrieb.cofig.Secrets;
import com.github.nilstrieb.commands.info.EvalCommand;
import com.github.nilstrieb.commands.info.HelpCommand;
import com.github.nilstrieb.listener.CommandListener;
import com.github.nilstrieb.listener.StartUpListener;
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.JDABuilder;
import net.dv8tion.jda.api.entities.Activity;
@ -15,9 +17,9 @@ public class Main {
public static void main(String[] args) throws LoginException {
JDABuilder builder = JDABuilder.createDefault(Secrets.TOKEN);
builder.setCompression(Compression.ZLIB);
builder.setActivity(Activity.watching(" over Gon"));
builder.setActivity(Activity.watching("over Gon"));
builder.addEventListeners(builder);
builder.addEventListeners(new StartUpListener(), new CommandListener());
JDA jda = builder.build();
setupCommands();