From 37e2e86f0ced6cc8e401e1934b1b808192d3279b Mon Sep 17 00:00:00 2001 From: profitroll Date: Fri, 26 May 2023 16:33:38 +0200 Subject: [PATCH] Added bot owner attribute --- classes/pyroclient.py | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/pyroclient.py b/classes/pyroclient.py index 27bc4cb..b2d25ea 100644 --- a/classes/pyroclient.py +++ b/classes/pyroclient.py @@ -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