Discord.py on_invite_create event



是否存在像

@client.event
async def on_invite_create(invite):

这样的东西存在吗?我在文档里找过了,但是找不到这样的东西。

Thanks in advance:)

确实是这样的。创建邀请时调用on_invite_create。您必须具有manage_channels权限才能接收此消息和intent。邀请启用。

你可以在这里查看它的文档