簡體   English   中英

discord.py 獲取頻道創建者/作者

[英]discord.py get channel creator/author

是否可以獲取頻道的創建者/作者? 我想要實現的示例代碼:

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

很抱歉,atm,無法使用 discord py 獲取頻道的創建者,但我聽說人們使用審核日志來實現類似的功能,因此您可以嘗試一下。

請檢查這個問題

Discord.py 如何獲取所有審計日志的列表?

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM