diff options
author | Samot19 <81269200+Samot19@users.noreply.github.com> | 2021-04-01 23:52:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-01 23:52:58 +0000 |
commit | 189ff921e5a1e14569fb49c44bf679b1b86f2869 (patch) | |
tree | 976648aa0a7dbc37e9449b7409493ade474708fe | |
parent | 13bd4e9a67ac4f8e38f973a52c8047ca9452f898 (diff) | |
download | steve-bot-189ff921e5a1e14569fb49c44bf679b1b86f2869.tar steve-bot-189ff921e5a1e14569fb49c44bf679b1b86f2869.tar.gz steve-bot-189ff921e5a1e14569fb49c44bf679b1b86f2869.tar.bz2 steve-bot-189ff921e5a1e14569fb49c44bf679b1b86f2869.tar.lz steve-bot-189ff921e5a1e14569fb49c44bf679b1b86f2869.tar.xz steve-bot-189ff921e5a1e14569fb49c44bf679b1b86f2869.tar.zst steve-bot-189ff921e5a1e14569fb49c44bf679b1b86f2869.zip |
Update utils.py
Diffstat (limited to '')
-rwxr-xr-x | cogs/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cogs/utils.py b/cogs/utils.py index 1635b33..1ad303d 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -529,7 +529,7 @@ class Utils(commands.Cog): for user in fair: tz = fair[user]["timezone"] currentdate = datetime.datetime.now(timezone(tz)).date() - if fair[user]["date"] != str(currentdate) and fair[user]["date"] != str(currentdate-timedelta(1)) and fair[user]["streak"] != 1: + if fair[user]["date"] != str(currentdate) and fair[user]["date"] != str(currentdate-timedelta(1)): fair[user]["streak"] = 1 fair[user]["date"] = str(currentdate) await ctx.send(self.bot.get_user(int(user)).mention + ": You lost your streak! <:sad:716629485449117708>") |