From 9dfd95ae046c0db7714ac791d4b42066251f3806 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 29 May 2019 12:41:47 -0400 Subject: [PATCH] db command --- sopel_modules/SpiceBot_Database_Command/DatabaseCommand.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot_Database_Command/DatabaseCommand.py b/sopel_modules/SpiceBot_Database_Command/DatabaseCommand.py index 10b314a..b7ea84d 100644 --- a/sopel_modules/SpiceBot_Database_Command/DatabaseCommand.py +++ b/sopel_modules/SpiceBot_Database_Command/DatabaseCommand.py @@ -5,7 +5,9 @@ from __future__ import unicode_literals, absolute_import, print_function, divisi # sopel imports import sopel.module +import sopel_modules.SpiceBot as SpiceBot + @sopel.module.nickname_commands('database') def bot_command_gender(bot, trigger): - bot.osd("Database is " + bot.config.core.db_type) + bot.osd("Database is " + SpiceBot.config.dict["core"]["db_type"])