fix: Remove trailing color references

#11007
This commit is contained in:
Elysia
2025-09-13 18:11:53 +07:00
parent f0ec7d977c
commit 2fe0ad486d
3 changed files with 3 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ class RoleManager extends CachedManager {
* @example
* // Fetch a single role
* message.guild.roles.fetch('222078108977594368')
* .then(role => console.log(`The role color is: ${role.color}`))
* .then(role => console.log(`The role color is: ${role.colors.primaryColor}`))
* .catch(console.error);
*/
async fetch(id, { cache = true, force = false } = {}) {