mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
database command
This commit is contained in:
parent
d0768cf7dc
commit
4bad867baf
@ -590,3 +590,8 @@ class BotDatabase():
|
|||||||
|
|
||||||
|
|
||||||
db = BotDatabase()
|
db = BotDatabase()
|
||||||
|
|
||||||
|
|
||||||
|
@sopel.module.nickname_commands('database')
|
||||||
|
def bot_command_gender(bot, trigger):
|
||||||
|
bot.osd("Database is " + botconfig.db_type)
|
||||||
|
|||||||
@ -1,13 +0,0 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
# coding=utf-8
|
|
||||||
from __future__ import unicode_literals, absolute_import, print_function, division
|
|
||||||
|
|
||||||
# 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 " + SpiceBot.config.db_type)
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
# 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