Module watamebot

Interface IGuildData

All Known Implementing Classes:
GuildData

public interface IGuildData
Interface containing methods used to access GuildData instances.
Author:
Ashley
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the guild JSON configuration.
    net.dv8tion.jda.api.entities.Guild
    Get the Guild represented by this instance.
    net.dv8tion.jda.api.entities.Channel
    Get the channel designated as the log channel.
    Get the temporary data store for this instance.
  • Method Details

    • 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 Channel as designated or null if none was set
    • getGuild

      net.dv8tion.jda.api.entities.Guild getGuild()
      Get the Guild represented by this instance.
      Returns:
      The guild used
    • getConfig

      JSONObjectAdv getConfig()
      Get the guild JSON configuration.
      Returns:
      An extension of a JSONObject with a set function for updates and removals or null if no database data has been passed