space consistency

This commit is contained in:
LBlend committed 2022-12-14 01:57:57 +01:00
1 parent 03dbbc2824
commit 2aa3b51b10
1 file changed
+5 -5
+5 -5
View File
@@ -41,14 +41,14 @@ class Birthday(commands.Cog):
async def birthday_check(self):
"""Check if it's someone's birthday every day at midgnight and send a greeting if it is."""
await asyncio.sleep(1) # Prevent sending message before date has really changed
await asyncio.sleep(1) # Prevent sending message before date has really changed
self.cursor.execute(
"""
SELECT *
FROM birthdays
WHERE EXTRACT(MONTH FROM birthday) = EXTRACT(MONTH FROM current_date)
AND EXTRACT(DAY FROM birthday) = EXTRACT(DAY FROM current_date);
SELECT *
FROM birthdays
WHERE EXTRACT(MONTH FROM birthday) = EXTRACT(MONTH FROM current_date)
AND EXTRACT(DAY FROM birthday) = EXTRACT(DAY FROM current_date);
"""
)