diff --git a/sopel_modules/SpiceBot_Database_Command/DatabaseCommand.py b/sopel_modules/SpiceBot_Database_Command/DatabaseCommand.py new file mode 100644 index 0000000..10b314a --- /dev/null +++ b/sopel_modules/SpiceBot_Database_Command/DatabaseCommand.py @@ -0,0 +1,11 @@ +#!/usr/bin/env python +# coding=utf-8 +from __future__ import unicode_literals, absolute_import, print_function, division + +# sopel imports +import sopel.module + + +@sopel.module.nickname_commands('database') +def bot_command_gender(bot, trigger): + bot.osd("Database is " + bot.config.core.db_type) diff --git a/sopel_modules/SpiceBot_Database_Command/__init__.py b/sopel_modules/SpiceBot_Database_Command/__init__.py new file mode 100644 index 0000000..5e8ee90 --- /dev/null +++ b/sopel_modules/SpiceBot_Database_Command/__init__.py @@ -0,0 +1,6 @@ +# coding=utf-8 +"""Command for database information +""" +from __future__ import unicode_literals, absolute_import, print_function, division + +from .DatabaseCommand import *