Class ContextImpl
- java.lang.Object
-
- dev.hypera.chameleon.command.context.ContextImpl
-
-
Constructor Summary
Constructors Constructor Description ContextImpl(@NotNull ChatUser sender, @NotNull Chameleon chameleon, @NotNull String[] args)Context implementation constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull String[]getArgs()Get command arguments.@NotNull ChameleongetChameleon()Get Chameleon implementation.@NotNull ChatUsergetSender()Get command sender.
-
-
-
Method Detail
-
getSender
@NotNull public @NotNull ChatUser getSender()
Get command sender.
-
getChameleon
@NotNull public @NotNull Chameleon getChameleon()
Get Chameleon implementation.- Specified by:
getChameleonin interfaceContext- Returns:
- Chameleon implementation.
-
-