From 5cb3f2dd125609012a56d452db399c1971abe6e6 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 24 Jan 2023 10:45:08 -0500 Subject: [PATCH] test --- setup.cfg | 1 + sopel_SpiceBot_Core_Prerun/__init__.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index b80e5c0..55bee6a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,6 +23,7 @@ install_requires = [options.entry_points] sopel.plugins = sopel_SpiceBot_Core_1 = sopel_SpiceBot_Core_1 + sopel_SpiceBot_Core_Prerun = sopel_SpiceBot_Core_Prerun sopel_SpiceBot_Core_Startup = sopel_SpiceBot_Core_Startup sopel_SpiceBot_Runtime_Commands = sopel_SpiceBot_Runtime_Commands sopel_SpiceBot_Runtime_Nickname_Commands = sopel_SpiceBot_Runtime_Nickname_Commands diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 24a3613..b7d35cc 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"]: @@ -203,7 +203,7 @@ class ComRun(): ret_text += "." return ret_text - @property + # @property def is_nick_privileged(self): has_bot_priv = True has_channel_priv = True