Skip to content

Conversation

@nwerosama
Copy link
Contributor

As was discussed/brought up in Discord a month ago for missing support for roles field in create_emoji and edit_emoji.

I feel like I am missing something prior to creating this PR but feel free to correct me on it though.

Yes, it is also tested on the bot before forking and creating the PR.

@github-actions github-actions bot added model Related to the `model` module. builder Related to the `builder` module. labels Jan 19, 2025
}

/// Creates an emoji in the guild with a name and base64-encoded image.
/// Creates an emoji in the guild with a name and base64-encoded image and set of roles.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this documentation be expanded a little to explain what the roles passed do? I had to check ddev docs to realize it restricts the emoji to only be usable by those roles.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I add the section about it above the permission line comment? Something like "The emoji will only be visible to those that has the role to use it."? It's the furthest I can think of right now while understanding the Discord docs.

@github-actions github-actions bot removed the builder Related to the `builder` module. label Jan 19, 2025
@nwerosama nwerosama requested a review from GnomedDev February 26, 2025 20:40
@arqunis arqunis force-pushed the next branch 2 times, most recently from 57c79ff to 9a811a7 Compare March 11, 2025 22:17
Copy link
Member

@GnomedDev GnomedDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GnomedDev GnomedDev merged commit 304311a into serenity-rs:next Mar 26, 2025
23 of 24 checks passed
@jamesbt365 jamesbt365 linked an issue Mar 26, 2025 that may be closed by this pull request
GnomedDev pushed a commit to GnomedDev/serenity that referenced this pull request Mar 26, 2025
GnomedDev pushed a commit to GnomedDev/serenity that referenced this pull request Mar 26, 2025
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Jun 30, 2025
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Jun 30, 2025
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Jun 30, 2025
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Jul 28, 2025
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Jul 28, 2025
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Oct 7, 2025
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Oct 7, 2025
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

model Related to the `model` module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GuildId::edit_emoji missing setting allowed roles

3 participants