From 775cefc2039c138485227c1d97f3432c5abbd36e Mon Sep 17 00:00:00 2001 From: Showdown76py Date: Sat, 2 Mar 2024 23:34:33 +0100 Subject: [PATCH] fix time --- bot/app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot/app.py b/bot/app.py index 8164374..7901ee6 100644 --- a/bot/app.py +++ b/bot/app.py @@ -1,4 +1,4 @@ -import time +from time import time import discord, asyncio import os from discord.ext import commands @@ -20,13 +20,13 @@ async def load_cogs(): async def time_to_bereal(): # Get subscribers - time = int(time.time()) + t = int(time()) subscribers = app.db.get_subscribers() # Send message to all subscribers for subscriber in subscribers: user = await app.fetch_user(subscriber.user_id) - await user.send(f"# :warning: It's time to BeReal.\nOpen BeReal. to post what you are doing right now.\n") + await user.send(f"# :warning: It's time to BeReal.\nOpen BeReal. to post what you are doing right now.\n") app.time_to_bereal = time_to_bereal