Class ApplicationEmojiManagerImpl
java.lang.Object
net.dv8tion.jda.internal.requests.RestActionImpl<Void>
net.dv8tion.jda.internal.requests.restaction.AuditableRestActionImpl<Void>
net.dv8tion.jda.internal.managers.ManagerBase<ApplicationEmojiManager>
net.dv8tion.jda.internal.managers.ApplicationEmojiManagerImpl
- All Implemented Interfaces:
ApplicationEmojiManager
,Manager<ApplicationEmojiManager>
,RestAction<Void>
,AuditableRestAction<Void>
public class ApplicationEmojiManagerImpl
extends ManagerBase<ApplicationEmojiManager>
implements ApplicationEmojiManager
-
Field Summary
Fields inherited from class net.dv8tion.jda.internal.requests.RestActionImpl
LOG
Fields inherited from interface net.dv8tion.jda.api.managers.ApplicationEmojiManager
NAME
Fields inherited from interface net.dv8tion.jda.api.requests.restaction.AuditableRestAction
MAX_REASON_LENGTH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull ApplicationEmoji
getEmoji()
The targetApplicationEmoji
that will be modified by this Managerreset
(long fields) Resets the fields specified by the provided bit-flag pattern.reset
(long... fields) Resets the fields specified by the provided bit-flag patterns.@NotNull ApplicationEmojiManager
Sets the name of the selectedApplicationEmoji
.Methods inherited from class net.dv8tion.jda.internal.managers.ManagerBase
complete, deadline, isPermissionChecksEnabled, queue, reset, setCheck, setPermissionChecksEnabled, timeout
Methods inherited from class net.dv8tion.jda.internal.requests.restaction.AuditableRestActionImpl
reason
Methods inherited from class net.dv8tion.jda.internal.requests.RestActionImpl
getCheck, getDefaultFailure, getDefaultSuccess, getDefaultTimeout, getJDA, handleResponse, isPassContext, priority, setDefaultFailure, setDefaultSuccess, setDefaultTimeout, setErrorMapper, setPassContext, submit
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.dv8tion.jda.api.requests.restaction.AuditableRestAction
reason
Methods inherited from interface net.dv8tion.jda.api.managers.Manager
deadline, reset, setCheck, timeout
Methods inherited from interface net.dv8tion.jda.api.requests.RestAction
addCheck, and, and, complete, complete, completeAfter, delay, delay, delay, delay, flatMap, flatMap, getCheck, getJDA, map, mapToResult, onErrorFlatMap, onErrorFlatMap, onErrorMap, onErrorMap, onSuccess, queue, queue, queue, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, submit, submit, submitAfter, submitAfter, zip
-
Constructor Details
-
ApplicationEmojiManagerImpl
-
-
Method Details
-
getEmoji
Description copied from interface:ApplicationEmojiManager
The targetApplicationEmoji
that will be modified by this Manager- Specified by:
getEmoji
in interfaceApplicationEmojiManager
- Returns:
- The target emoji
-
reset
Description copied from interface:ApplicationEmojiManager
Resets the fields specified by the provided bit-flag pattern. You can specify a combination by using a bitwise OR concat of the flag constants.Flag Constants:
- Specified by:
reset
in interfaceApplicationEmojiManager
- Specified by:
reset
in interfaceManager<ApplicationEmojiManager>
- Overrides:
reset
in classManagerBase<ApplicationEmojiManager>
- Parameters:
fields
- Integer value containing the flags to reset.- Returns:
- ApplicationEmojiManager for chaining convenience.
-
reset
Description copied from interface:ApplicationEmojiManager
Resets the fields specified by the provided bit-flag patterns.Flag Constants:
- Specified by:
reset
in interfaceApplicationEmojiManager
- Specified by:
reset
in interfaceManager<ApplicationEmojiManager>
- Overrides:
reset
in classManagerBase<ApplicationEmojiManager>
- Parameters:
fields
- Integer values containing the flags to reset.- Returns:
- ApplicationEmojiManager for chaining convenience.
-
setName
Description copied from interface:ApplicationEmojiManager
Sets the name of the selectedApplicationEmoji
.An emoji name must be between 2-32 characters long!
Emoji names may only be populated with alphanumeric (with underscore and dash).Example:
tatDab
orfmgSUP
- Specified by:
setName
in interfaceApplicationEmojiManager
- Parameters:
name
- The new name for the selectedApplicationEmoji
- Returns:
- ApplicationEmojiManager for chaining convenience.
-