test
This commit is contained in:
parent
8cd580f402
commit
5cb3f2dd12
@ -23,6 +23,7 @@ install_requires =
|
|||||||
[options.entry_points]
|
[options.entry_points]
|
||||||
sopel.plugins =
|
sopel.plugins =
|
||||||
sopel_SpiceBot_Core_1 = sopel_SpiceBot_Core_1
|
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_Core_Startup = sopel_SpiceBot_Core_Startup
|
||||||
sopel_SpiceBot_Runtime_Commands = sopel_SpiceBot_Runtime_Commands
|
sopel_SpiceBot_Runtime_Commands = sopel_SpiceBot_Runtime_Commands
|
||||||
sopel_SpiceBot_Runtime_Nickname_Commands = sopel_SpiceBot_Runtime_Nickname_Commands
|
sopel_SpiceBot_Runtime_Nickname_Commands = sopel_SpiceBot_Runtime_Nickname_Commands
|
||||||
|
|||||||
@ -176,7 +176,7 @@ class ComRun():
|
|||||||
recipients = self.trigger.sender
|
recipients = self.trigger.sender
|
||||||
sb.osd(messages, recipients, text_method, max_messages=-1)
|
sb.osd(messages, recipients, text_method, max_messages=-1)
|
||||||
|
|
||||||
@property
|
# @property
|
||||||
def required_privileges(self):
|
def required_privileges(self):
|
||||||
bot_level = 0
|
bot_level = 0
|
||||||
channel_level = 0
|
channel_level = 0
|
||||||
@ -192,7 +192,7 @@ class ComRun():
|
|||||||
"channel": channel_level
|
"channel": channel_level
|
||||||
}
|
}
|
||||||
|
|
||||||
@property()
|
# @property()
|
||||||
def required_privileges_text(self):
|
def required_privileges_text(self):
|
||||||
ret_text = "This command requries privileges of/above the following"
|
ret_text = "This command requries privileges of/above the following"
|
||||||
if self.required_privileges["bot"]:
|
if self.required_privileges["bot"]:
|
||||||
@ -203,7 +203,7 @@ class ComRun():
|
|||||||
ret_text += "."
|
ret_text += "."
|
||||||
return ret_text
|
return ret_text
|
||||||
|
|
||||||
@property
|
# @property
|
||||||
def is_nick_privileged(self):
|
def is_nick_privileged(self):
|
||||||
has_bot_priv = True
|
has_bot_priv = True
|
||||||
has_channel_priv = True
|
has_channel_priv = True
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user