Class RoleMentionParser
java.lang.Object
dev.sympho.modular_commands.utils.parse.entity.EntityMentionParser<Role>
dev.sympho.modular_commands.utils.parse.entity.RoleMentionParser
- All Implemented Interfaces:
ParserFunction<String,,Role> BiFunction<CommandContext,String, Mono<Role>>
A parser for role mentions.
- 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>> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class dev.sympho.modular_commands.utils.parse.entity.EntityMentionParser
parseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThenMethods inherited from interface dev.sympho.modular_commands.api.command.parameter.parse.ParserFunction
apply, then
-
Constructor Details
-
RoleMentionParser
public RoleMentionParser()Creates a new instance.
-