discord.py 获取频道创建者/作者

时间:2021-07-22 00:09:57

标签: python discord discord.py

是否可以获取频道的创建者/作者?我想要实现的示例代码:

async def on_guild_channel_create(self, channel):
    await channel.edit(topic = f"The author of this channel is: {channel.author}")

1 个答案:

答案 0 :(得分:1)

抱歉,atm,无法使用 discord py 获取频道的创建者,但我听说有人使用审核日志来实现类似的功能,因此您可以尝试一下。

请检查这个问题

Discord.py How to get the list of all the audit logs?