Added bot owner attribute

This commit is contained in:
Profitroll 2023-05-26 16:33:38 +02:00
parent f0c8b97524
commit 37e2e86f0c

View File

@ -44,6 +44,7 @@ class PyroClient(Client):
plugins=dict(root="plugins", exclude=config["disabled_plugins"]),
sleep_threshold=120,
)
self.owner = config["bot"]["owner"]
self.commands: List[PyroCommand] = []
self.scoped_commands = config["bot"]["scoped_commands"]
self.start_time = 0