Fix broken f-string

This commit is contained in:
Robert Miles 2021-06-15 01:22:12 +00:00
parent 4e726961ed
commit d556d8cb90

View File

@ -17,7 +17,7 @@ def cmd_water(bot,channel,nick,user=None):
if water(user): if water(user):
bot.say(channel,f"Watered {user}'s plant!") bot.say(channel,f"Watered {user}'s plant!")
else: else:
bot.say(channel,"Unable to water {user}'s plant; are you sure they have one?") bot.say(channel,f"Unable to water {user}'s plant; are you sure they have one?")
else: else:
if water(nick): if water(nick):
bot.say(channel,f"Watered {nick}'s plant!") bot.say(channel,f"Watered {nick}'s plant!")