ErrorNoCord/main.py
ErrorNoInternet cf2348c918
refactor: remove dynamic handler system
Can just use client.add_listener instead
2025-01-05 17:33:52 -05:00

14 lines
242 B
Python

import time
import constants
import events
from state import client, start_time
@client.event
async def on_ready():
print(f"logged in as {client.user} in {round(time.time() - start_time, 1)}s")
client.run(constants.SECRETS["TOKEN"])