[config] Change config path
This commit is contained in:
parent
9e6fc9d9d0
commit
8a5c6a36a1
@ -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(client.config["data_folder"], self.name.lower(), "config.toml"))
|
||||
self.config = self.client.get_config(path=os.path.join(self.name.lower(), "config.toml"))
|
||||
|
||||
async def _run_event(self, coro, event_name, *args, **kwargs):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user