Repository: serenity-rs/serenity (language: rust)

Issue:
impl From<EmojiId> for ReactionType doesn't produce a valid reaction
When attempting to create a reaction with a `ReactionType` directly generated by this impl all requests will fail, The name cannot be `None`, but it can be anything else, consider using something like "reaction" for the name instead.

What happens when you try and use a ReactionType without a name:
```
Http(UnsuccessfulRequest(ErrorResponse { status_code: 400, url: "https://discord.com/api/v10/channels/1235087573421133824/messages/1241909429977481246/reactions/:1218258296272715836/@me", method: PUT, error: DiscordJsonError { code: 10014, message: "Unknown Emoji", errors: [] } }))
```



Discussion / hints:
Also see #2156

Fix patch:
diff --git a/src/model/channel/reaction.rs b/src/model/channel/reaction.rs
index 91e211b8a18..510c2b1e0a9 100644
--- a/src/model/channel/reaction.rs
+++ b/src/model/channel/reaction.rs
@@ -414,7 +414,7 @@ impl From<EmojiId> for ReactionType {
         ReactionType::Custom {
             animated: false,
             id: emoji_id,
-            name: None,
+            name: Some("emoji".to_string()),
         }
     }
 }


Test patch: