Class CTDConfig.DiscordConfig

java.lang.Object
org.tywrapstudios.ctd.config.CTDConfig.DiscordConfig
Enclosing class:
CTDConfig

public static class CTDConfig.DiscordConfig extends Object
  • Field Details

    • discord_webhooks

      public List<String> discord_webhooks
      Hello there! Please do not access this field directly, as it may contain sensitive information (duh) but most importantly, bot tokens. Instead of this, use the respective CTDCommon.WEBHOOKS and CTDCommon.TOKEN values, which are populated from this list.
      TOKEN is set to the last token value in this list if it matches the regex for a bot token. It can be null or empty.
    • only_send_messages

      public boolean only_send_messages
    • embed_mode

      public boolean embed_mode
    • embed_color_rgb_int

      public int embed_color_rgb_int
    • role_ids

      public List<String> role_ids
  • Constructor Details

    • DiscordConfig

      public DiscordConfig()