/** * Copyright (C) 2017-2018 Christian Pierre MOMON * Copyright (C) 2011-2013,2017 Nicolas Vinot * * This file is part of (April) Hebdobot. * * Hebdobot is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Hebdobot is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with Hebdobot. If not, see */ package org.april.hebdobot; import java.io.File; import org.april.hebdobot.bot.Hebdobot; /** * The Class BotMock. */ public class BotMock extends Hebdobot { /** * Instantiates a new bot mock. * * @throws Exception * the exception */ public BotMock() throws Exception { super("myHost", 0, "Hebdobot", "#april-mock", null, new File("/tmp/"), null, null); } /* (non-Javadoc) * @see org.april.hebdobot.irc.Bot#onMessage(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) */ @Override public void onMessage(final String channel, final String sender, final String login, final String hostname, final String message) { super.onMessage(channel, sender, login, hostname, message); } }