@Repeatable(value=CommandFilter.Commands.class) @Retention(value=RUNTIME) @Target(value=METHOD) public @interface CommandFilter
ClientReceiveCommandEvent. This annotation can be repeated.
The below code only listens to PRIVMSG:
@CommandFilter("PRIVMSG")
@Handler)
public void privmsg(ClientReceiveCommandEvent event) {
System.out.println("We get signal");
}
public abstract @NonNull String value
Copyright © 2013–2021 Kitteh. All rights reserved.