toto
This commit is contained in:
parent
13d7036a74
commit
4c300d45c3
4
main.py
4
main.py
@ -233,9 +233,7 @@ class LBI(discord.Client):
|
|||||||
# Content: {"module_name": {"module": imported module, "class": initialized class}}
|
# Content: {"module_name": {"module": imported module, "class": initialized class}}
|
||||||
self.modules = {}
|
self.modules = {}
|
||||||
self.config = config
|
self.config = config
|
||||||
self.config["modules"] = self.config["modules"] if self.config["modules"] is not None else ["modules","errors"]
|
self.config.init({"modules": ["modules", "errors"], "prefix": "%", "owners": []})
|
||||||
self.config["prefix"] = self.config["prefix"] or "%"
|
|
||||||
self.config["owners"] = self.config["owners"] or []
|
|
||||||
self.load_modules()
|
self.load_modules()
|
||||||
|
|
||||||
@modules_edit
|
@modules_edit
|
||||||
|
Loading…
Reference in New Issue
Block a user