Method FromEmoji
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
FromEmoji(DiscordEmoji)
Creates a DefaultReaction object from an emoji.
public static DefaultReaction FromEmoji(DiscordEmoji emoji)
Parameters
emoji
DiscordEmojiThe DiscordEmoji.
Returns
- DefaultReaction
Create DefaultReaction object.