Class Data

java.lang.Object
de.presti.ree6.utils.data.Data

public class Data extends Object
Utility class to save long term used Data.
  • Method Details

    • getStatus

      public static String getStatus()
      Get the configured Discord Bot status.
      Returns:
      the Discord Bot status from the config.
    • getWebsite

      public static String getWebsite()
      Get the configured Discord Bot Website.
      Returns:
      the Discord Bot Website from the config.
    • getGithub

      public static String getGithub()
      Get the configured Github repository.
      Returns:
      the Github repository from the config.
    • getInvite

      public static String getInvite()
      Get the configured Discord Bot invite.
      Returns:
      the Discord Bot invite from the config.
    • getSupport

      public static String getSupport()
      Get the configured Discord Bot support server.
      Returns:
      the Discord Bot support server from the config.
    • getFeedbackChannel

      public static long getFeedbackChannel()
      Get the configured Discord Bot Feedback channel id.
      Returns:
      the Discord Bot Feedback channel id from the config.
    • getAdvertisement

      public static String getAdvertisement()
      Get the configured Advertisement.
      Returns:
      the Advertisement from the config.
    • getBotOwner

      public static String getBotOwner()
      Get the configured Discord Bot owner.
      Returns:
      the Discord Bot owner from the config.
    • getBotName

      public static String getBotName()
      Get the configured Discord Bot name.
      Returns:
      the Discord Bot name from the config.
    • isModuleActive

      public static boolean isModuleActive(String moduleName)
      Check if a module is activated in the config.
      Parameters:
      moduleName - Name of the module.
      Returns:
      if the module is activated.
    • shouldHideModuleNotification

      public static boolean shouldHideModuleNotification()
      Check if the module notification should be hidden.
      Returns:
      if the module notification should be hidden.
    • allowRecordingInChat

      public static boolean allowRecordingInChat()
      Check if the bot should be able to send the recordings in chat.
      Returns:
      if the bot is allowed to send the recordings in chat.
    • getDefaultLanguage

      public static String getDefaultLanguage()
      Get the configured default language.
      Returns:
      the default language from the config.
    • getTwitchAuth

      public static String getTwitchAuth()
      Get the configured Twitch Auth Url.
      Returns:
      the Twitch Auth Url from the config.
    • getRecordingUrl

      public static String getRecordingUrl()
      Get the configured Recording Url.
      Returns:
      the Recording Url from the config.
    • getWebinterface

      public static String getWebinterface()
      Get the configured Webinterface Url.
      Returns:
      the Webinterface Url from the config.
    • getDefaultPrefix

      public static String getDefaultPrefix()
      Get the configured default prefix.
      Returns:
      the default prefix from the config.
    • getTextFont

      public static String getTextFont()
      Get the configured Font for the text.
      Returns:
      the Font for the text from the config.
    • isDebug

      public static boolean isDebug()
      Check if the bot should run in debug mode.
      Returns:
      if the bot should run in debug mode.
    • shouldUseLavaLink

      public static boolean shouldUseLavaLink()
      Check if the bot should use LavaLink.
      Returns:
      if the bot should use LavaLink.