Add underscores to water response

This commit is contained in:
Robert Miles 2021-07-06 12:13:40 +00:00
parent 1cf36069c7
commit 379052c58f
1 changed files with 4 additions and 4 deletions

View File

@ -16,14 +16,14 @@ def water(user):
def cmd_water(bot,channel,nick,user=None):
if user is not None:
if plant := water(user):
bot.say(channel,f"Watered {user}'s {plant}!")
bot.say(channel,f"Watered _{user}_'s {plant}!")
else:
bot.say(channel,f"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:
if plant := water(nick):
bot.say(channel,f"Watered {nick}'s {plant}!")
bot.say(channel,f"Watered _{nick}_'s {plant}!")
return
if plant := water(bot.event.source.user):
bot.say(channel,f"Watered {bot.event.source.user}'s {plant}!")
bot.say(channel,f"Watered _{bot.event.source.user}_'s {plant}!")
return
bot.say(channel,"I couldn't figure out which plant was yours. Give me your username as an argument.")