From 10cb61e486ba6e65abd1834c995047ef57e7ebee Mon Sep 17 00:00:00 2001 From: Silke pilon Date: Fri, 1 Dec 2023 22:41:28 +0100 Subject: [PATCH] Update plugin imports and bump version --- lodestone/__init__.py | 2 +- lodestone/plugins/__init__.py | 11 +++++------ pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/lodestone/__init__.py b/lodestone/__init__.py index 523245b..5bd6dc8 100644 --- a/lodestone/__init__.py +++ b/lodestone/__init__.py @@ -1,7 +1,7 @@ try: from lodestone.bot import createBot, Bot from lodestone.utils import llm - from lodestone.plugins import plugins + from plugins import plugins from lodestone.api import fastapi from lodestone.server import createServer, Server from lodestone.logger import logger diff --git a/lodestone/plugins/__init__.py b/lodestone/plugins/__init__.py index 3a9c408..5da1762 100644 --- a/lodestone/plugins/__init__.py +++ b/lodestone/plugins/__init__.py @@ -4,9 +4,8 @@ from .discordrp import discordrp class plugins: - def __init__(self): - self.cactus = cactus() - self.discordrp = discordrp() - self.discord = discord() - self.schematic = schematic() - super().__init__() + cactus = cactus() + discordrp = discordrp() + discord = discord() + schematic = schematic() + diff --git a/pyproject.toml b/pyproject.toml index 0b8cc72..5771d89 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "lodestone" -version = "0.0.59" +version = "0.0.60" description = "🤖 Create Minecraft bots with a powerful, stable, and high level Python API." authors = [ { name = "Silke Pilon", email = "silkepilon2009@gmail.com" },