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"])