- 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
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.sympho.modular_commands.api.command.parameter.parse.ParserFunction
ParserFunction.PostParser<R extends @NonNull Object,
I extends @NonNull Object, T extends @NonNull Object, P1 extends @NonNull ParserFunction<R, I>, P2 extends @NonNull ParserFunction<I, T>> -
Method Summary
Methods inherited from interface dev.sympho.modular_commands.api.command.parameter.parse.ArgumentParser
parse, parseArgument, validateRaw
Methods inherited from interface java.util.function.BiFunction
andThen
Methods inherited from interface dev.sympho.modular_commands.api.command.parameter.parse.ParserFunction
apply, then
-
Method Details
-
type
The required channel type.- Returns:
- The channel type.
-