diff --git a/__init__.py b/__init__.py index e681ece..85f8cb9 100644 --- a/__init__.py +++ b/__init__.py @@ -14,7 +14,7 @@ class BaseModule: self.infos = toml.load(f) self.name = self.infos["name"] self.client = client - self.config = Config(path=os.path.join(client.config["data_folder"], self.name.lower(), "config.toml")) + self.config = self.client.get_config(path=os.path.join(client.config["data_folder"], self.name.lower(), "config.toml")) async def _run_event(self, coro, event_name, *args, **kwargs): try: diff --git a/infos.toml b/infos.toml index 98f80b0..2ddd26f 100644 --- a/infos.toml +++ b/infos.toml @@ -1,8 +1,8 @@ name = "Base" description = "Base module to avoid code repetition" -version = "1.1.0" -bot_version = "~=0.1.0" +version = "1.2.0" +bot_version = "~=0.2.0" metamodule = true