- All Known Implementing Classes:
WatameBotDatabase
public interface IGuildDataProvider
-
Method Summary
Modifier and TypeMethodDescriptiongetDataForGuild(@NotNull net.dv8tion.jda.api.entities.Guild guild) NEED_JAVADOCbooleanisReady()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
truewhen all data has been loaded from the database
-
getDataForGuild
NEED_JAVADOC- Parameters:
guild-- Returns:
- Throws:
NullPointerException- ifguildis null
-