Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在制作 server-info 命令,我想添加“具有管理员权限的成员列表”。有什么语法吗?
您应该显示您在帖子中尝试过的代码
const adminMembers = <Guild>.members.cache.filter(e => e.permissions.has("ADMINISTRATOR")); const array = adminMembers.map(e => e.user.tag).array(); const str = array.join("\n");