Class GuildUpdateCommunityUpdatesChannelEvent

All Implemented Interfaces:
GenericEvent, UpdateEvent<Guild,TextChannel>

public class GuildUpdateCommunityUpdatesChannelEvent extends GenericGuildUpdateEvent<TextChannel>
Indicates that the community updates channel of a Guild changed.

Can be used to detect when a guild community updates channel changes and retrieve the old one

Identifier: community_updates_channel

  • Field Details

  • Constructor Details

  • Method Details

    • getOldCommunityUpdatesChannel

      @Nullable public TextChannel getOldCommunityUpdatesChannel()
      The previous community updates channel.
      The previous community updates channel
    • getNewCommunityUpdatesChannel

      @Nullable public TextChannel getNewCommunityUpdatesChannel()
      The new community updates channel.
      The new community updates channel