// Copyright (c) 2014, Christopher "blay09" Baker
// All rights reserved.
package net.blay09.mods.eirairc.api.event;

import cpw.mods.fml.common.eventhandler.Event;
import net.minecraft.util.IChatComponent;

public class ApplyEmoticons extends Event {

    public IChatComponent component;

    public ApplyEmoticons(IChatComponent component) {
        this.component = component;
    }

}

@@ -205,90 +205,774 @@
 t;%0A%0A
-public class ApplyEmoticons extends Event %7B%0A%0A    public IChatComponent component;%0A
+/**%0A * This event is published on the MinecraftForge.EVENTBUS bus for every text component in a message EiraIRC has received.%0A * It will not be posted for components handled by EiraIRC, such as links or @Mentions.%0A * Mods adding emoticons can use this to make their magic happen and adjust the chat component as needed.%0A */%0Apublic class ApplyEmoticons extends Event %7B%0A%0A    /**%0A     * The chat component containing the text message that should be checked for emoticons.%0A     * This component can be changed by anyone handling this event and EiraIRC will continue working with whatever is set here.%0A     */%0A    public IChatComponent component;%0A%0A    /**%0A     * @param component the chat component containing the text message that should be checked for emoticons%0A     */
 %0A   

Document ApplyEmoticons.