This commit is contained in:
deathbybandaid 2023-01-24 10:45:08 -05:00
parent 8cd580f402
commit 5cb3f2dd12
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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