Added plant name in output message #7

Merged
khuxkm merged 4 commits from aphelion/cosmicbot:master into master 2021-06-23 16:53:48 +00:00
Showing only changes of commit c55849ee36 - Show all commits

View File

@ -10,7 +10,7 @@ def water(user):
with open(os.path.expanduser("~{}/.botany/{}_plant_data.json".format(user,user))) as f:
return json.load(f)['description'] # Success
except:
return "" # Failure
return False # Failure
@plugin.command("water")
def cmd_water(bot,channel,nick,user=None):