Class GuildEmbedImpl

java.lang.Object
com.mewna.catnip.entity.impl.guild.GuildEmbedImpl
All Implemented Interfaces:
Entity, GuildEmbed, HasChannel, RequiresCatnip

public class GuildEmbedImpl extends Object implements GuildEmbed
Since:
10/18/2018
Author:
SamOphis
  • Constructor Details

    • GuildEmbedImpl

      public GuildEmbedImpl()
    • GuildEmbedImpl

      public GuildEmbedImpl(Catnip catnip, long channelIdAsLong, boolean enabled)
  • Method Details

    • catnip

      public void catnip(@Nonnull Catnip catnip)
      Specified by:
      catnip in interface RequiresCatnip
    • builder

      public static GuildEmbedImpl.GuildEmbedImplBuilder builder()
    • catnip

      public Catnip catnip()
      Description copied from interface: Entity
      Returns the catnip instance associated with this entity.
      Specified by:
      catnip in interface Entity
      Returns:
      The catnip instance of this entity.
    • channelIdAsLong

      public long channelIdAsLong()
      Specified by:
      channelIdAsLong in interface HasChannel
    • enabled

      public boolean enabled()
      Specified by:
      enabled in interface GuildEmbed
      Returns:
      Whether the embed is enabled.
    • channelIdAsLong

      public GuildEmbedImpl channelIdAsLong(long channelIdAsLong)
      Returns:
      this.
    • enabled

      public GuildEmbedImpl enabled(boolean enabled)
      Returns:
      this.