aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/events/event/ChatReceiveEvent.java
blob: 299ce12fe82093e51720a07ea3aa8238f248a731 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package cc.polyfrost.oneconfig.events.event;

/**
 * Called when a chat message is received.
 */
public class ChatReceiveEvent extends CancellableEvent {
    /**
     * The message that was received.
     */
    public final Object message;

    public ChatReceiveEvent(Object message) {
        this.message = message;
    }

    public String getFullyUnformattedMessage() {
        return "";
    }
}