public RoleConfig GetConfig(ulong guildId) { return(Database.Load <RoleConfig>(RoleConfig.DocumentName(guildId))); }
public void SaveConfig(RoleConfig config) { Database.Store(config, RoleConfig.DocumentName(config.GuildId)); }
public RoleConfig GetConfig(ulong guildId) { return(Database.Load <RoleConfig>(RoleConfig.DocumentName(guildId))); }
public void SaveConfig(RoleConfig config) { Database.Store(config, RoleConfig.DocumentName(config.GuildId)); }