test
This commit is contained in:
parent
ec72095154
commit
15b2c585c1
@ -14,19 +14,24 @@ class SpiceBotCore_OBJ():
|
|||||||
|
|
||||||
# Allow SpiceBot to interact with Sopel Logger
|
# Allow SpiceBot to interact with Sopel Logger
|
||||||
self.logger = Logger()
|
self.logger = Logger()
|
||||||
|
self.logger.info("SpiceBot Logging Interface Setup Complete.")
|
||||||
|
|
||||||
# Allow Spicebot to mimic Sopel Config
|
# Allow Spicebot to mimic Sopel Config
|
||||||
self.config = Config(script_dir)
|
self.config = Config(script_dir)
|
||||||
|
self.logger.info("SpiceBot Config Interface Setup Complete.")
|
||||||
|
|
||||||
# Parse Version Information for the ENV
|
# Parse Version Information for the ENV
|
||||||
self.versions = Versions(self.config, self.logger)
|
self.versions = Versions(self.config, self.logger)
|
||||||
|
self.logger.info("SpiceBot Versions Interface Setup Complete.")
|
||||||
|
|
||||||
# Mimic Sopel DB, with enhancements
|
# Mimic Sopel DB, with enhancements
|
||||||
self.database = Database(self.config)
|
self.database = Database(self.config)
|
||||||
|
self.logger.info("SpiceBot Database Interface Setup Complete.")
|
||||||
|
|
||||||
def setup(self, bot):
|
def setup(self, bot):
|
||||||
"""This runs with the plugin setup routine"""
|
"""This runs with the plugin setup routine"""
|
||||||
|
|
||||||
|
# store an access interface to sopel.bot
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
|
||||||
# Re-initialize the bot config properly during plugin setup routine
|
# Re-initialize the bot config properly during plugin setup routine
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user