File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ class RoleManager extends CachedManager {
106106 * @property {number } [position] The position of the new role
107107 * @property {boolean } [mentionable] Whether or not the new role should be mentionable
108108 * @property {?(BufferResolvable|Base64Resolvable|EmojiResolvable) } [icon] The icon for the role
109- * @property {?string } [unicodeEmoji] The name of the unicode emoji for the role
109+ * @property {?string } [unicodeEmoji] The unicode emoji for the role
110110 * @property {string } [reason] The reason for creating this role
111111 */
112112
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ class Role extends Base {
9090 this . icon = data . icon ;
9191
9292 /**
93- * The name of the unicode emoji for the role
93+ * The unicode emoji for the role
9494 * @type {?string }
9595 */
9696 this . unicodeEmoji = data . unicode_emoji ;
@@ -196,7 +196,7 @@ class Role extends Base {
196196 * @property {PermissionResolvable } [permissions] The permissions of the role
197197 * @property {boolean } [mentionable] Whether or not the role should be mentionable
198198 * @property {?(BufferResolvable|Base64Resolvable|EmojiResolvable) } [icon] The icon for the role
199- * @property {?string } [unicodeEmoji] The name of the unicode emoji for the role
199+ * @property {?string } [unicodeEmoji] The unicode emoji for the role
200200 */
201201
202202 /**
@@ -318,12 +318,12 @@ class Role extends Base {
318318
319319 /**
320320 * Sets a new unicode emoji for the role.
321- * @param {?string } unicodeEmoji The name of the new unicode emoji for the role
321+ * @param {?string } unicodeEmoji The new unicode emoji for the role
322322 * @param {string } [reason] Reason for changing the role's unicode emoji
323323 * @returns {Promise<Role> }
324324 * @example
325325 * // Set a new unicode emoji for the role
326- * role.setUnicodeEmoji('robot ')
326+ * role.setUnicodeEmoji('🤖 ')
327327 * .then(updated => console.log(`Set unicode emoji for the role to ${updated.unicodeEmoji}`))
328328 * .catch(console.error);
329329 */
You can’t perform that action at this time.
0 commit comments