📜  discord py on ready - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:03.726000             🧑  作者: Mango

代码示例1
@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