Fix words typo

This commit is contained in:
Robert Miles 2019-11-01 12:52:28 -04:00
parent 1279b24de5
commit 770c0d46b4
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ def set_goal(nick,goal_):
def goal_cmd(bot,channel,nick,goal_=""):
if not goal_:
if nick in goal and ((time.time()/1000)-goal[nick][1])<(24*60*60):
bot.say(channel,"{}: Your goal is {}.".format(nick,plural(goal[nick][0],"words")))
bot.say(channel,"{}: Your goal is {}.".format(nick,plural(goal[nick][0],"word")))
else:
bot.say(channel,"{}: You haven't set a goal today!".format(nick))
else: