当我在不和谐频道中发送消息时,如何也将其发送到其他频道时,如何创建漫游器?节省时间,而不是复制和粘贴
答案 0 :(得分:0)
您可以使用:
message.channel.send(message)
message.client.channels.cache.get('<Put the channel ID here>').send(message)
答案 1 :(得分:0)
所以您想要一个自动将您发送的消息发送到另一个频道的漫游器吗?
bot.on("message", message => {
if (message.author.id === "YOUR ID HERE") {
message.client.channels.cache.get('<Put the channel ID here>').send(message.content)
}
});