Class ChannelUrlParser<C extends @NonNull Channel>

java.lang.Object
dev.sympho.modular_commands.utils.parse.entity.EntityUrlParser<C>
dev.sympho.modular_commands.utils.parse.entity.ChannelUrlParser<C>
Type Parameters:
C - The channel type.
All Implemented Interfaces:
ParserFunction<String,C>, UrlParser<C>, BiFunction<CommandContext,String,Mono<C>>

public class ChannelUrlParser<C extends @NonNull Channel> extends EntityUrlParser<C>
A parser for channel URLs.
Since:
1.0
Version:
1.0
  • Constructor Details

    • ChannelUrlParser

      @Pure public ChannelUrlParser(Class<C> type)
      Creates a new instance.
      Parameters:
      type - The type of channel.