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