Class InteractionContext
java.lang.Object
de.chojo.jdautil.conversation.elements.Context
de.chojo.jdautil.conversation.elements.InteractionContext
- All Implemented Interfaces:
ConversationContext
-
Constructor Summary
ConstructorsConstructorDescriptionInteractionContext(Map<String, Object> data, Conversation conversation, ComponentInteraction interaction, ILocalizer localizer) -
Method Summary
Modifier and TypeMethodDescription@NotNull User@NonNull String@NonNull Component.Type@NotNull String@NotNull String@NotNull StringgetGuild()@Nullable Memberlocalize(String message, Replacement... replacements) message()@NotNull MessageCreateAction@NotNull MessageCreateAction@NotNull MessageCreateActionreply(@NotNull MessageEmbed content) Methods inherited from class Context
conversation, get, getOrDefault, put, putIfAbsent
-
Constructor Details
-
InteractionContext
public InteractionContext(Map<String, Object> data, Conversation conversation, ComponentInteraction interaction, ILocalizer localizer)
-
-
Method Details
-
message
-
getAuthor
-
getMember
-
getContentDisplay
-
getContentRaw
-
getContentStripped
-
getGuild
-
reply
-
reply
-
reply
-
getComponentId
-
getComponentType
-
localize
-
localizer
-