- All Known Implementing Classes:
GuildData
public interface IGuildData
Interface containing methods used to access
GuildData instances.- Author:
- Ashley
-
Method Summary
Modifier and TypeMethodDescriptionGet the guild JSON configuration.net.dv8tion.jda.api.entities.GuildgetGuild()Get theGuildrepresented by this instance.net.dv8tion.jda.api.entities.ChannelGet the channel designated as the log channel.Get the temporary data store for this instance.
-
Method Details
-
getTempData
ConcurrentHashMap<String,Object> getTempData()Get the temporary data store for this instance.- Returns:
- A concurrent map containing temporary data
-
getLogChannel
net.dv8tion.jda.api.entities.Channel getLogChannel()Get the channel designated as the log channel.- Returns:
- A
Channelas designated ornullif none was set
-
getGuild
net.dv8tion.jda.api.entities.Guild getGuild()Get theGuildrepresented by this instance.- Returns:
- The guild used
-
getConfig
JSONObjectAdv getConfig()Get the guild JSON configuration.- Returns:
- An extension of a
JSONObjectwith a set function for updates and removals ornullif no database data has been passed
-