Class CategoryUpdatePositionEvent

    • Constructor Detail

      • CategoryUpdatePositionEvent

        public CategoryUpdatePositionEvent​(@Nonnull
                                           JDA api,
                                           long responseNumber,
                                           @Nonnull
                                           Category category,
                                           int oldPosition)
    • Method Detail

      • getOldPosition

        public int getOldPosition()
        The previous position of this Category
        Returns:
        The previous position
      • getNewPosition

        public int getNewPosition()
        The new position of this Category
        Returns:
        The new position