[wip] in modules, changes import to reflect new directory structure

This commit is contained in:
nemunaire 2015-01-03 20:34:44 +01:00
commit 7c7b63634b
39 changed files with 87 additions and 86 deletions

View file

@ -1,12 +1,12 @@
from datetime import datetime
import urllib
from tools import human
from tools.web import getJSON
from nemubot.hooks import hook
from nemubot.tools import human
from nemubot.tools.web import getJSON
nemubotversion = 3.4
from hooks import hook
from more import Response
URL_TPBAPI = None
@ -22,7 +22,7 @@ def load(context):
else:
URL_TPBAPI = CONF.getNode("tpbapi")["url"]
from hooks.messagehook import MessageHook
from nemubot.hooks.messagehook import MessageHook
add_hook("cmd_hook", MessageHook(cmd_tpb, "tpb"))