📌  相关文章
📜  python 代码示例中的不和谐机器人说话

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

代码示例1
@client.event
async def on_ready():
    print("Ready when you are")
    while True:
        bop = input("")
        for server in client.servers:
            for channel in server.channels:
                if channel.name == "general":
                    await client.send_message(channel, bop)