Class GuildUpdateOwnerEvent

    • Constructor Detail

      • GuildUpdateOwnerEvent

        public GuildUpdateOwnerEvent​(@Nonnull
                                     JDA api,
                                     long responseNumber,
                                     @Nonnull
                                     Guild guild,
                                     @Nullable
                                     Member oldOwner,
                                     long prevId,
                                     long nextId)
    • Method Detail

      • getNewOwnerIdLong

        public long getNewOwnerIdLong()
        The new owner user id
        Returns:
        The new owner id
      • getNewOwnerId

        @Nonnull
        public java.lang.String getNewOwnerId()
        The new owner user id
        Returns:
        The new owner id
      • getOldOwnerIdLong

        public long getOldOwnerIdLong()
        The previous owner user id
        Returns:
        The previous owner id
      • getOldOwnerId

        @Nonnull
        public java.lang.String getOldOwnerId()
        The previous owner user id
        Returns:
        The previous owner id
      • getOldOwner

        @Nullable
        public Member getOldOwner()
        The old owner
        Returns:
        The old owner
      • getNewOwner

        @Nullable
        public Member getNewOwner()
        The new owner
        Returns:
        The new owner