Add underscores to water response
This commit is contained in:
parent
1cf36069c7
commit
379052c58f
|
@ -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.")
|
||||
|
|
Loading…
Reference in New Issue