Added bot owner attribute
This commit is contained in:
parent
f0c8b97524
commit
37e2e86f0c
@ -44,6 +44,7 @@ class PyroClient(Client):
|
|||||||
plugins=dict(root="plugins", exclude=config["disabled_plugins"]),
|
plugins=dict(root="plugins", exclude=config["disabled_plugins"]),
|
||||||
sleep_threshold=120,
|
sleep_threshold=120,
|
||||||
)
|
)
|
||||||
|
self.owner = config["bot"]["owner"]
|
||||||
self.commands: List[PyroCommand] = []
|
self.commands: List[PyroCommand] = []
|
||||||
self.scoped_commands = config["bot"]["scoped_commands"]
|
self.scoped_commands = config["bot"]["scoped_commands"]
|
||||||
self.start_time = 0
|
self.start_time = 0
|
||||||
|
Reference in New Issue
Block a user