Skip to content

Commit

Permalink
STEP BY STEP
Browse files Browse the repository at this point in the history
  • Loading branch information
probablyjassin committed Jan 26, 2025
1 parent da1eee2 commit ec97373
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cogs/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

from config import HEALTHCHECK_URL

requests.get(HEALTHCHECK_URL)


class tasks(commands.Cog):
def __init__(self, bot):
Expand All @@ -28,9 +26,10 @@ async def on_ready(self):
self.manage_state.start()
self.daily_db_backup.start()

""" @tasks.loop(seconds=60)
@tasks.loop(seconds=60)
async def ping_healthcheck(self):
requests.get(HEALTHCHECK_URL) """
"""requests.get(HEALTHCHECK_URL)"""
print("Pinging healthcheck...")

@tasks.loop(seconds=15)
async def change_activity(self):
Expand Down

0 comments on commit ec97373

Please sign in to comment.