mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 06:29:54 -05:00
Database type
This commit is contained in:
parent
912e8a1b75
commit
820d0ef3a3
11
sopel_modules/SpiceBot_Database_Command/DatabaseCommand.py
Normal file
11
sopel_modules/SpiceBot_Database_Command/DatabaseCommand.py
Normal file
@ -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)
|
||||||
6
sopel_modules/SpiceBot_Database_Command/__init__.py
Normal file
6
sopel_modules/SpiceBot_Database_Command/__init__.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# coding=utf-8
|
||||||
|
"""Command for database information
|
||||||
|
"""
|
||||||
|
from __future__ import unicode_literals, absolute_import, print_function, division
|
||||||
|
|
||||||
|
from .DatabaseCommand import *
|
||||||
Loading…
Reference in New Issue
Block a user