Added NFL scores option to .nfl
This commit is contained in:
parent
84c421692d
commit
9f821cfb84
|
@ -89,6 +89,13 @@ class NFLLive(ModuleBase):
|
||||||
elif len(cmd.args)>0 and cmd.args[0]=="live":
|
elif len(cmd.args)>0 and cmd.args[0]=="live":
|
||||||
if not liveGamesStr == "":
|
if not liveGamesStr == "":
|
||||||
msgPieces.append("\x02Playing now:\x02 %s" % liveGamesStr)
|
msgPieces.append("\x02Playing now:\x02 %s" % liveGamesStr)
|
||||||
|
elif len(cmd.args)>0 and cmd.args[0]=="scores":
|
||||||
|
if not liveGamesStr == "":
|
||||||
|
msgPieces.append("\x02Playing now:\x02 %s" % liveGamesStr)
|
||||||
|
if not gamesTodayStr == "":
|
||||||
|
msgPieces.append("\x02Earlier today:\x02 %s" % gamesTodayStr)
|
||||||
|
if not gamesEarlierWeekStr == "":
|
||||||
|
msgPieces.append("\x02Earlier this week: \x02 %s" % gamesEarlierWeekStr)
|
||||||
else:
|
else:
|
||||||
if not liveGamesStr == "":
|
if not liveGamesStr == "":
|
||||||
msgPieces.append("\x02Playing now:\x02 %s" % liveGamesStr)
|
msgPieces.append("\x02Playing now:\x02 %s" % liveGamesStr)
|
||||||
|
|
Loading…
Reference in New Issue