001package co.aikar.commands.annotation; 002 003import java.lang.annotation.ElementType; 004import java.lang.annotation.Retention; 005import java.lang.annotation.RetentionPolicy; 006import java.lang.annotation.Target; 007 008/** 009 * The {@link CrossGuild} annotation is to define whether the parameter should be guild-specific or global. 010 * <p> 011 * If a supported parameter is marked with the CrossGuild annotation, the parameter will be filled from 012 * a global perspective (i.e., all of the guilds the bot is connected to). Otherwise, the parameter will 013 * be filled from command input. 014 * </p> 015 */ 016@Target(ElementType.PARAMETER) 017@Retention(RetentionPolicy.RUNTIME) 018public @interface CrossGuild { 019}