diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index d4a9e68..58df4ce 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -21,8 +21,7 @@ def prerun(metadata={}): # Check that nick has the correct bot or channel privileges # to run the command. if not comrun.is_nick_privileged(): - comrun.osd("is broken here") - # comrun.osd(comrun.required_privileges_text()) + comrun.osd(comrun.required_privileges_text()) return # Since there was more than one command, @@ -193,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"]: @@ -204,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