discord.Client()
async def on_ready():async def on_reaction_add(reaction, user):
await client.send_message(channel, '{} hasreacted by using {} emoji, his message was (
当我运行我的代码时,它会给我带来错误,比如没有定义通道。要使用这段代码,您所要做的就是在您想要消息的通道中运行命令,并且当您将反应添加到消息中时,它应该创建一个名为ticket - author的通道。有人能解决这个问题吗?957206899902779422) # message id of the embed goes here await msg.add_reaction("")