标签: python discord discord.py bots
我的机器人使用 discord.py,有没有办法对其进行编码,使其能够通过命令自动跟随其他服务器的公告频道到您的服务器?
答案 0 :(得分:0)
我不确定这是否是您的要求,但是您可以通过执行 message.type == discord.MessageType.channel_follow_add
message.type == discord.MessageType.channel_follow_add
这里有一些有用的链接:
on_message event
MessageType.channel_follow_add
你不能用机器人关注频道,如果这就是你的意思。