mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
db command
This commit is contained in:
parent
32a90748e2
commit
9dfd95ae04
@ -5,7 +5,9 @@ from __future__ import unicode_literals, absolute_import, print_function, divisi
|
|||||||
# sopel imports
|
# sopel imports
|
||||||
import sopel.module
|
import sopel.module
|
||||||
|
|
||||||
|
import sopel_modules.SpiceBot as SpiceBot
|
||||||
|
|
||||||
|
|
||||||
@sopel.module.nickname_commands('database')
|
@sopel.module.nickname_commands('database')
|
||||||
def bot_command_gender(bot, trigger):
|
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"])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user