[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

@ -6,8 +6,8 @@ import datetime
import re
from urllib.parse import quote
from hooks import hook
from tools import web
from nemubot.hooks import hook
from nemubot.tools import web
import mapquest
@ -27,7 +27,7 @@ def load(context):
"http://developer.forecast.io/")
return None
from hooks.messagehook import MessageHook
from nemubot.hooks.messagehook import MessageHook
add_hook("cmd_hook", MessageHook(cmd_weather, "météo"))
add_hook("cmd_hook", MessageHook(cmd_alert, "alert"))
add_hook("cmd_hook", MessageHook(cmd_coordinates, "coordinates"))