forked from khuxkm/cosmicbot
Fix broken f-string
This commit is contained in:
parent
4e726961ed
commit
d556d8cb90
|
@ -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!")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user