【问题标题】:discord.py get channel creator/authordiscord.py 获取频道创建者/作者
【发布时间】:2021-07-22 08:21:50
【问题描述】:

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

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

【问题讨论】:

    标签: python discord discord.py


    【解决方案1】:

    很抱歉,但是 atm,没有办法使用 discord py 获取频道的创建者,但我听说人们使用审计日志来实现类似的东西,所以你可以尝试一下。

    请查看这个问题

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

    【讨论】:

      猜你喜欢
      • 2020-11-07
      • 1970-01-01
      • 2019-11-17
      • 1970-01-01
      • 2021-03-13
      • 1970-01-01
      • 2020-05-22
      • 2021-03-13
      • 2021-02-06
      相关资源
      最近更新 更多