package io.github.likcoras.asuka.handler;

import io.github.likcoras.asuka.BotConfig;
import io.github.likcoras.asuka.exception.HandlerException;
import io.github.likcoras.asuka.handler.response.BotResponse;
import org.pircbotx.PircBotX;
import org.pircbotx.hooks.Event;

public interface Handler {
	
	public void configure(BotConfig config);
	
	public BotResponse handle(Event<PircBotX> event) throws HandlerException;
	
	public void cleanUp() throws HandlerException;
	
}

@@ -68,25 +68,126 @@
 s.asuka.
-BotConfig
+AsukaBot;%0Aimport io.github.likcoras.asuka.BotConfig;%0Aimport io.github.likcoras.asuka.exception.ConfigException
 ;%0Aimport
@@ -435,16 +435,39 @@
  config)
+ throws ConfigException
 ;%0A%09%0A%09pub
@@ -489,16 +489,30 @@
  handle(
+AsukaBot bot, 
 Event%3CPi

Tweak slightly