Adding some stuff

This commit is contained in:
GregTCLTK 2019-10-27 11:51:04 +01:00
parent 3538843532
commit de00763c3b

View file

@ -2,6 +2,8 @@ package com.bbn.hadder;
import com.bbn.hadder.commands.TestCommand; import com.bbn.hadder.commands.TestCommand;
import com.bbn.hadder.commands.moderation.BanCommand; import com.bbn.hadder.commands.moderation.BanCommand;
import com.bbn.hadder.commands.moderation.KickCommand;
import com.bbn.hadder.commands.owner.ShutdownCommand;
import com.bbn.hadder.commands.settings.PrefixCommand; import com.bbn.hadder.commands.settings.PrefixCommand;
import com.bbn.hadder.core.CommandHandler; import com.bbn.hadder.core.CommandHandler;
import com.bbn.hadder.listener.*; import com.bbn.hadder.listener.*;
@ -45,13 +47,17 @@ public class Hadder {
CommandHandler.cmdlist.put("test", new TestCommand()); CommandHandler.cmdlist.put("test", new TestCommand());
CommandHandler.cmdlist.put("ban", new BanCommand()); CommandHandler.cmdlist.put("ban", new BanCommand());
CommandHandler.cmdlist.put("prefix", new PrefixCommand()); CommandHandler.cmdlist.put("prefix", new PrefixCommand());
CommandHandler.cmdlist.put("stop", new ShutdownCommand());
CommandHandler.cmdlist.put("shutdown", new ShutdownCommand());
CommandHandler.cmdlist.put("kick", new KickCommand());
builder.addEventListeners( builder.addEventListeners(
new MentionListener(), new MentionListener(),
new PrivateMessageListener(), new PrivateMessageListener(),
new CommandListener(), new CommandListener(),
new GuildJoinListener(), new GuildJoinListener(),
new GuildLeaveListener()); new GuildLeaveListener(),
new BotListListener());
try { try {
ShardManager shardManager = builder.build(); ShardManager shardManager = builder.build();