Fix remove function of autowater

This commit is contained in:
minerobber 2019-01-31 03:27:57 +00:00
parent cda9b83a7d
commit 4ea83e892d
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def autowater_remove(bot,channel,userhost,*args):
bot.say(channel,"{}: I'm not watching your plant. Did you mean to add yourself? (!autowater add)".format(nick))
else:
bot.say(channel,"{}: Welcome back! I'll stop watching your plant since you're here.".format(nick))
del watered[user]
del watered.value[user]
watered.save(watered.filename)
BOTANY_PLANT_WATER_TRIGGER = (1 * (24 * 3600)) # 5 days for a botany plant to die, so water every day