diff --git a/plugins/eightball.py b/plugins/eightball.py index 4c7f56d..5e80d1c 100755 --- a/plugins/eightball.py +++ b/plugins/eightball.py @@ -1,5 +1,4 @@ -from util import hook -from util.text import multiword_replace +from util import hook, text import random color_codes = { @@ -19,5 +18,5 @@ def eightball(input, me=None): "in electronic form. Ask and it shall be answered!" # here we use voodoo magic to tell the future - magic = multiword_replace(random.choice(responses), color_codes) + magic = text.multiword_replace(random.choice(responses), color_codes) me("shakes the magic 8 ball... %s" % magic) diff --git a/plugins/weather.py b/plugins/weather.py index 43d90e2..b0a39ad 100755 --- a/plugins/weather.py +++ b/plugins/weather.py @@ -4,7 +4,7 @@ base_url = "http://api.wunderground.com/api/{}/{}/q/{}.json" @hook.command(autohelp=None) -def weather(inp, reply=None, db=None, nick=None, bot=None): +def weather(inp, reply=None, db=None, nick=None, bot=None, notice=None): "weather [dontsave] -- Gets weather data"\ " for from Wunderground."