Class InteractionMetaBuilder<T extends InteractionMetaBuilder<T>>
java.lang.Object
de.chojo.jdautil.interactions.base.InteractionMetaBuilder<T>
- Direct Known Subclasses:
MessageBuilder, UserBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanname()scope()protected Tself()setContext(Set<InteractionContextType> context) Sets the context this command can be used in.setPermission(DefaultMemberPermissions permission) setScope(InteractionScope scope) withPermission(Permission permission, Permission... permissions)
-
Constructor Details
-
InteractionMetaBuilder
-
-
Method Details
-
self
-
name
-
getContext
-
setContext
Sets the context this command can be used in. Default isInteractionContextType.GUILDandInteractionContextType.BOT_DM- Parameters:
context- new context- Returns:
- builder instance
-
localized
public boolean localized() -
permission
-
scope
-
setPermission
-
withPermission
-
setScope
-
unlocalized
-