
com.freya02.botcommands.api.core.DefaultEmbedFooterIconSupplier Maven / Gradle / Ivy
package com.freya02.botcommands.api.core;
import com.freya02.botcommands.api.commands.prefixed.BaseCommandEvent;
import com.freya02.botcommands.api.core.service.annotations.BService;
import com.freya02.botcommands.api.core.service.annotations.InterfacedService;
import com.freya02.botcommands.api.core.service.annotations.ServiceType;
import org.jetbrains.annotations.Nullable;
import java.io.InputStream;
/**
* Interface for embed footer icons requested by {@link BaseCommandEvent#getDefaultIconStream()}.
*
*
* Usage: Register your instance as a service with {@link BService}, and a {@link ServiceType} of {@link DefaultEmbedFooterIconSupplier}.
*
* @see InterfacedService
*/
@InterfacedService(acceptMultiple = false)
public interface DefaultEmbedFooterIconSupplier {
class Default implements DefaultEmbedFooterIconSupplier {
@Nullable
@Override
public InputStream get() {
return null;
}
}
@Nullable
InputStream get();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy