diff --git a/botcity/base/bot.py b/botcity/base/bot.py index 55155aa..8487be5 100644 --- a/botcity/base/bot.py +++ b/botcity/base/bot.py @@ -73,6 +73,7 @@ def main(cls): parameters = bot.maestro.get_task(task_id).parameters execution = BotExecution(server, task_id, token, parameters) + bot.execution = execution else: raise RuntimeError("Your setup is missing the botcity-maestro-sdk package. " "Please install it with: pip install botcity-maestro-sdk")