📌  相关文章
📜  discord javascript 如何创建角色 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:58.630000             🧑  作者: Mango

代码示例1
// Create a new role with data and a reason
guild.roles.create({
  data: {
    name: 'Super Cool People',
    color: 'BLUE',
  },
  reason: 'we needed a role for Super Cool People',
})
  .then(console.log)
  .catch(console.error);