mirror of
https://github.com/Noratrieb/killua-bot.git
synced 2026-01-14 15:15:01 +01:00
hold up
This commit is contained in:
parent
d08e02c488
commit
1dc0ed2264
2 changed files with 4 additions and 4 deletions
|
|
@ -5,8 +5,6 @@
|
|||
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
@ -17,7 +19,7 @@ public class Main {
|
|||
builder.setCompression(Compression.ZLIB);
|
||||
builder.setActivity(Activity.watching("over Gon"));
|
||||
|
||||
builder.addEventListeners(builder);
|
||||
builder.addEventListeners(new StartUpListener(), new CommandListener());
|
||||
|
||||
JDA jda = builder.build();
|
||||
setupCommands();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue