@bot.event
async def on_message(message):
channel = bot.get_channel(931570478915657790)
if message.content == "hello":
await channel.send("hi!")
我是编程新手.我想为我的discord频道编写一个机器人,向写hello的用户发送"hi"消息.但有一个问题,只有我(self 机器人)可以收到"嗨!"消息当我从另一个帐户写"你好"时,机器人不会回答.(注意:我使用的是selfbot,而不是普通的bot.)