Skip to content

Commit

Permalink
feat: ✨ add support to role emojis
Browse files Browse the repository at this point in the history
  • Loading branch information
liy77 committed Feb 6, 2024
1 parent 3b4a832 commit 49d282a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/darkcord/src/resources/Guild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,15 @@ export class Guild extends BaseGuild {
const role = await this._client.rest.modifyGuildRole(
this.id,
roleId,
options,
{
color: options.color,
hoist: options.hoist,
icon: options.icon,
mentionable: options.mentionable,
name: options.name,
permissions: options.permissions,
unicode_emoji: options.unicodeEmoji,
},
reason,
);

Expand Down

0 comments on commit 49d282a

Please sign in to comment.