Compare commits

..

No commits in common. "master" and "1.2.0" have entirely different histories.

View File

@ -14,7 +14,7 @@ class BaseModule:
self.infos = toml.load(f)
self.name = self.infos["name"]
self.client = client
self.config = self.client.get_config(path=os.path.join(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: