discord py on ready
@client.event # Tells Discord that it's a event async def on_ready(): # Important that the # name of the event is # "on_ready" print("Ready!") # Prints ready to the console
Source: discordpy.readthedocs.io
on_ready discord.py
@client.event async def on_ready(): print('We have logged in as {0.user}'.format(client))