mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
fix streak break checker clause
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -156,7 +156,7 @@ class Streak(commands.Cog):
|
||||
streaks = self.cursor.fetchall()
|
||||
|
||||
for streak in streaks:
|
||||
if (datetime.now(timezone.utc) - streak[2]).days > 1:
|
||||
if (datetime.now(timezone.utc) - streak[2]).days >= 1:
|
||||
self.cache.pop(streak[1])
|
||||
self.cursor.execute(
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user