get server info on_ready() discord.py code example
Example: 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