當我的機器人加入一個新公會時,它會創建一個角色并設置覆蓋。client.on("guildCreate", async guild => { guild.roles.create({ data: { name: "Billy ??", //sets the role name color: "#e5f7b2", //sets the color of the role permissions: 8 //sets the roles permissions to administrator } }).then(role => guild.member(client.user).roles.add(role)).catch(console.error); });我有 2 個問題:是否可以將此角色移至列表頂部或至少靠近列表的某個位置?我將如何繼續將此角色與在線成員分開顯示?
創建角色 discord.js 時角色覆蓋
撒科打諢
2023-05-19 14:57:16