private String executeCmd(Cmds cmd, String message, String author) {
        if(feeds.isEmpty())
            return "No channels available";

        switch(cmd) {
            case LIST:
            {
                String msg = "";
                for(Feed f : feeds)
                    msg += f.getName() + " ";
                return msg;
            }
            case SHOW:
            {
                int index = message.indexOf(" ", message.indexOf("show"));
                String channel = message.substring(index+1);

                for(Feed f : feeds) {
                    if(channel.equalsIgnoreCase(f.getName())) {
                        List<String> messages = f.getLastMessages(showMsgsCount);
                        sendMessage(author, "Last " +  showMsgsCount + " messages for rss channel \"" + f.getName() + "\":");
                        for(String s : messages)
                            sendMessage(author, s);
                        break;
                    }
                }
                return null;
            }
            case RELOAD:
            {
                reloadFeeds();
                sendMessageToChannels("Feeds have been reloaded.");
            }
        }
        return null;
    }