Class RoleUpdateColorEvent

    • Constructor Detail

      • RoleUpdateColorEvent

        public RoleUpdateColorEvent​(@Nonnull
                                    JDA api,
                                    long responseNumber,
                                    @Nonnull
                                    Role role,
                                    int oldColor)
    • Method Detail

      • getOldColor

        @Nullable
        public java.awt.Color getOldColor()
        The old color
        Returns:
        The old color, or null
      • getOldColorRaw

        public int getOldColorRaw()
        The raw rgb value of the old color
        Returns:
        The raw rgb value of the old color
      • getNewColor

        @Nullable
        public java.awt.Color getNewColor()
        The new color
        Returns:
        The new color, or null
      • getNewColorRaw

        public int getNewColorRaw()
        The raw rgb value of the new color
        Returns:
        The raw rgb value of the new color