标签: javascript discord.js
每当有人运行命令时,如何存储他在其中运行命令的通道的ID? 〜谢谢!
答案 0 :(得分:0)
client.on("message", message => { console.log(`A message from ${message.author.tag} was sent in the channel with the ID: ${message.channel.id}.`); });