test
This commit is contained in:
parent
67c2c5f3e6
commit
4655e02eee
@ -8,16 +8,16 @@ import os
|
|||||||
import pathlib
|
import pathlib
|
||||||
|
|
||||||
from .SBCore import SpiceBotCore_OBJ
|
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__)))
|
SCRIPT_DIR = pathlib.Path(os.path.dirname(os.path.abspath(__file__)))
|
||||||
|
|
||||||
sb = SpiceBotCore_OBJ(SCRIPT_DIR)
|
sb = SpiceBotCore_OBJ(SCRIPT_DIR)
|
||||||
|
|
||||||
|
|
||||||
def configure(config):
|
# def configure(config):
|
||||||
config.define_section("SpiceBot", SpiceBot_Conf, validate=False)
|
# config.define_section("SpiceBot", SpiceBot_Conf, validate=False)
|
||||||
config.SpiceBot_Conf.configure_setting('multi_split_key', 'key to split multi-commands')
|
# config.SpiceBot_Conf.configure_setting('multi_split_key', 'key to split multi-commands')
|
||||||
|
|
||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
|
|||||||
@ -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"]:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user