Interface ChannelArgumentParser<C extends Channel,T extends @NonNull Object>

Type Parameters:
C - The channel type.
T - The parsed type.
All Superinterfaces:
ArgumentParser<C,T>, BiFunction<CommandContext,C,Mono<T>>, EntityArgumentParser<C,T>, InputParser<C,T>, ParserFunction<C,T>

public non-sealed interface ChannelArgumentParser<C extends Channel,T extends @NonNull Object> extends EntityArgumentParser<C,T>
Parses Discord channels.
Since:
1.0
Version:
1.0
  • Method Details

    • type

      @Pure Class<C> type()
      The required channel type.
      Returns:
      The channel type.