diff --git a/docs/docs/reference/core.md b/docs/docs/reference/core.md index f9804d1..79642ab 100644 --- a/docs/docs/reference/core.md +++ b/docs/docs/reference/core.md @@ -20,7 +20,7 @@ Use these to access CORE's modules. - [`misc`](/reference/misc) - `logui` (not important for developers, displays the log graphically) - [`sms`](/reference/sms) -- [`edl`](/reference/edl) +- [`erm`](/reference/erm) (formerly `edl`) - [`storage`](/reference/storage) ## Variables diff --git a/docs/docs/reference/edl.md b/docs/docs/reference/erm.md similarity index 97% rename from docs/docs/reference/edl.md rename to docs/docs/reference/erm.md index 7f2fa22..60fb049 100644 --- a/docs/docs/reference/edl.md +++ b/docs/docs/reference/erm.md @@ -2,8 +2,8 @@ sidebar_position: 8 --- -# `Easy DownLoader` -Pulls files from the internet, awaitable and batchable. +# `Easy Request Maker` +Allows for awaited, batched and oneline requests. ## Functions ### *Dictionary* awaited_request(*String* url, *bool* parse_utf8, *HTTPClient.Method* method = *HTTPClient.Method.METHOD_GET*, *PackedStringArray* headers = *PackedStringArray([])*, *String* data = *""*) diff --git a/src/core.gd b/src/core.gd index 05f98b0..33ed691 100644 --- a/src/core.gd +++ b/src/core.gd @@ -31,7 +31,7 @@ const version_type: CoreTypes.VersionType = CoreTypes.VersionType.BETA const version_typerelease: int = 4 # Modules -const modules: Array[String] = [ "logger", "misc", "sms", "logui", "edl", "storage" ] +const modules: Array[String] = [ "logger", "misc", "sms", "logui", "erm", "storage" ] ## Use this to access CORE's logging implementation. var logger: CoreBaseModule ## Use this to access various useful functions. @@ -41,7 +41,7 @@ var sms: CoreBaseModule ## Use this to access the graphical log. Serves no importance to you (probably). var logui: CoreBaseModule ## Use this to access CORE's builtin HTTP request maker. -var edl: CoreBaseModule +var erm: CoreBaseModule ## Use this to access configuration and settings files easily. var storage: CoreBaseModule @@ -207,7 +207,6 @@ func apply_configuration() -> void: logger.verbf("Core", "Applying configuration") if is_devmode(): logger.warnf("Core", "The CORE Framework is in development mode. Here be dragons!") if config.headless: logger.warnf("Core", "CORE is in headless mode. Certain modules will not work as expected.") - edl._pull_config() if !config.custom_modules: logger.verbf("Core", "Removing all custom modules (custom modules support is disabled)") for module in custom_modules: unregister_custom_module(module) diff --git a/src/edl.gd b/src/erm.gd similarity index 98% rename from src/edl.gd rename to src/erm.gd index 9ad8cd7..f76461e 100644 --- a/src/edl.gd +++ b/src/erm.gd @@ -15,9 +15,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -## A easy download/request maker. -## -## Allows for awaited and/or batched requests. +## Allows for awaited, batched and oneline requests. extends CoreBaseModule var list_queue: Dictionary = {}