package io.github.likcoras.asuka.handler.response;

import org.pircbotx.PircBotX;
import org.pircbotx.hooks.types.GenericMessageEvent;
import io.github.likcoras.asuka.AsukaBot;

public class QuitResponse implements BotResponse {

	private GenericMessageEvent<PircBotX> event;
	private String reply;
	private String message;
	
	public QuitResponse(GenericMessageEvent<PircBotX> event, String reply, String message) {
		this.event = event;
		this.reply = reply.replaceAll("%s", event.getUser().getNick());
		this.message = message.replaceAll("%s", event.getUser().getNick());
	}

	@Override
	public void send(AsukaBot bot) {
		event.respond(reply);
		bot.getIrcBot().stopBotReconnect();
		bot.getIrcBot().sendIRC().quitServer(message);
	}
	
}

package io.github.likcoras.asuka.handler.response;

import org.pircbotx.PircBotX;
import org.pircbotx.hooks.types.GenericMessageEvent;
import io.github.likcoras.asuka.AsukaBot;

public class QuitResponse implements BotResponse {

	private GenericMessageEvent<PircBotX> event;
	private String reply;
	private String message;
	
	public QuitResponse(GenericMessageEvent<PircBotX> event, String reply, String message) {
		this.event = event;
		this.reply = reply;
		this.message = message;
	}

	@Override
	public void send(AsukaBot bot) {
		event.respond(reply.replaceAll("%s", event.getUser().getNick()));
		bot.getIrcBot().stopBotReconnect();
		bot.getIrcBot().sendIRC().quitServer(message);
	}
	
}

--- 
+++ 
@@ -12,13 +12,13 @@
 	
 	public QuitResponse(GenericMessageEvent<PircBotX> event, String reply, String message) {
 		this.event = event;
-		this.reply = reply;
-		this.message = message;
+		this.reply = reply.replaceAll("%s", event.getUser().getNick());
+		this.message = message.replaceAll("%s", event.getUser().getNick());
 	}
 
 	@Override
 	public void send(AsukaBot bot) {
-		event.respond(reply.replaceAll("%s", event.getUser().getNick()));
+		event.respond(reply);
 		bot.getIrcBot().stopBotReconnect();
 		bot.getIrcBot().sendIRC().quitServer(message);
 	}
Make sure to add the requester to both the reply and message