📜  如何获取服务器 discord js bot 的 id - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:47.797000             🧑  作者: Mango

代码示例1
let server = message.guild.id, // ID of the guild the message was sent in
  channel = message.channel.id // ID of the channel the message was sent in