Interface ApplicationEmojiManager

All Superinterfaces:
AuditableRestAction<Void>, Manager<ApplicationEmojiManager>, RestAction<Void>

public interface ApplicationEmojiManager extends Manager<ApplicationEmojiManager>
Manager providing functionality to update the name field for an ApplicationEmoji.

Example

manager.setName("minn")
       .queue();
See Also:
  • Field Details

  • Method Details

    • reset

      @Nonnull @CheckReturnValue ApplicationEmojiManager reset(long fields)
      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 interface Manager<ApplicationEmojiManager>
      Parameters:
      fields - Integer value containing the flags to reset.
      Returns:
      ApplicationEmojiManager for chaining convenience.
    • reset

      @Nonnull @CheckReturnValue ApplicationEmojiManager reset(@Nonnull long... fields)
      Resets the fields specified by the provided bit-flag patterns.

      Flag Constants:

      Specified by:
      reset in interface Manager<ApplicationEmojiManager>
      Parameters:
      fields - Integer values containing the flags to reset.
      Returns:
      ApplicationEmojiManager for chaining convenience.
    • getEmoji

      @Nonnull ApplicationEmoji getEmoji()
      The target ApplicationEmoji that will be modified by this Manager
      Returns:
      The target emoji
    • setName

      @Nonnull @CheckReturnValue ApplicationEmojiManager setName(@Nonnull String name)
      Sets the name of the selected ApplicationEmoji.

      An emoji name must be between 2-32 characters long!
      Emoji names may only be populated with alphanumeric (with underscore and dash).

      Example: tatDab or fmgSUP

      Parameters:
      name - The new name for the selected ApplicationEmoji
      Returns:
      ApplicationEmojiManager for chaining convenience.
      Throws:
      IllegalArgumentException - If the provided name is null, not alphanumeric, or not between 2 and 32 characters long