16 lines
271 B
Python
16 lines
271 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")
|
|
|
|
await events.on_ready()
|
|
|
|
|
|
client.run(constants.SECRETS["TOKEN"])
|