Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReactionType conversion traits #217

Merged
merged 1 commit into from
Nov 13, 2017
Merged

ReactionType conversion traits #217

merged 1 commit into from
Nov 13, 2017

Conversation

fenhl
Copy link
Contributor

@fenhl fenhl commented Nov 13, 2017

This PR implements From<EmojiId> and From<EmojiIdentifier> for ReactionType. I'm not exactly sure what the name field on ReactionType::Custom does, but it's set to None when converting from EmojiId for now.

@hsiW hsiW added the enhancement An improvement to Serenity. label Nov 13, 2017
@arqunis arqunis merged commit 68156c9 into serenity-rs:v0.5.0 Nov 13, 2017
@fenhl fenhl deleted the into-reaction-type branch November 13, 2017 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement to Serenity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants