Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
djetelina committed May 20, 2016
1 parent 62350e9 commit b0ee7b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ async def release(self, ctx):
arg = " ".join(ctx.message.content.split()[1:])
if len(arg) > 0:
for game in self.dates:
if game.lower().startswith(arg):
if game.lower().startswith(arg.lower()) or game.lower() is arg.lower():
days, hrs, mins = calc_until(self.dates[game])
msg = "{} releases in {},{} hours and {} minutes.".format(game, days, hrs, mins)
await s.destructmsg(msg, 30, self.bot)
Expand Down

0 comments on commit b0ee7b3

Please sign in to comment.