Module watamebot

Interface IGuildDataProvider

All Known Implementing Classes:
DataManager, WatameBotDatabase

public interface IGuildDataProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    getDataForGuild(net.dv8tion.jda.api.entities.Guild guild)
    NEED_JAVADOC
    boolean
    Check if all guild data has been processed and is ready for use.
  • Method Details

    • isReady

      boolean isReady()
      Check if all guild data has been processed and is ready for use.
      Returns:
      Returns true when all data has been loaded from the database
    • getDataForGuild

      IGuildData getDataForGuild(@Nonnull net.dv8tion.jda.api.entities.Guild guild)
      NEED_JAVADOC
      Parameters:
      guild -
      Returns:
      Throws:
      NullPointerException - if guild is null