public static boolean isPermitted(String user, MessageEvent event) throws IllegalAccessException, SQLException, InstantiationException {
        if (CommandLinks.permitted.contains(user) || isRegular(user,event,false)) {
            return true;
        } else {
            if (!CommandLinks.strike1.contains(user)) {
                event.getBot().sendRaw().rawLine("PRIVMSG " + event.getChannel().getName() + " :.timeout " + event.getUser().getNick() + " 5");
                event.respond(Strings.strike1);
                CommandLinks.strike1.add(user);

            } else {
                if (CommandLinks.strike1.contains(user)) {
                    event.getBot().sendRaw().rawLine("PRIVMSG " + event.getChannel().getName() + " :.timeout " + event.getUser()
                            .getNick() + Strings.bantime);
                    event.respond(Strings.strike2 + Strings.bantimeOnMSG);
                    CommandLinks.strike1.remove(user);
                }
            }
        }
        return false;
    }