From 9477ec3192dd18d8d4a646b4088b1b6f7724cefa Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 24 Jan 2023 09:07:05 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_1/__init__.py | 8 ++++---- sopel_SpiceBot_Core_Prerun/__init__.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sopel_SpiceBot_Core_1/__init__.py b/sopel_SpiceBot_Core_1/__init__.py index fde9400..87e08d8 100644 --- a/sopel_SpiceBot_Core_1/__init__.py +++ b/sopel_SpiceBot_Core_1/__init__.py @@ -8,16 +8,16 @@ import os import pathlib from .SBCore import SpiceBotCore_OBJ -# from .SBCore.config import SpiceBot_Conf +from .SBCore.config import SpiceBot_Conf SCRIPT_DIR = pathlib.Path(os.path.dirname(os.path.abspath(__file__))) sb = SpiceBotCore_OBJ(SCRIPT_DIR) -# def configure(config): -# config.define_section("SpiceBot", SpiceBot_Conf, validate=False) -# config.SpiceBot_Conf.configure_setting('multi_split_key', 'key to split multi-commands') +def configure(config): + config.define_section("SpiceBot", SpiceBot_Conf, validate=False) + config.SpiceBot_Conf.configure_setting('multi_split_key', 'key to split multi-commands') def setup(bot): diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 24a3613..e56220e 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -176,7 +176,7 @@ class ComRun(): recipients = self.trigger.sender sb.osd(messages, recipients, text_method, max_messages=-1) - @property + # @property def required_privileges(self): bot_level = 0 channel_level = 0 @@ -192,7 +192,7 @@ class ComRun(): "channel": channel_level } - @property() + # @property() def required_privileges_text(self): ret_text = "This command requries privileges of/above the following" if self.required_privileges["bot"]: