Table of Contents

Method TryFromGuildEmote

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

TryFromGuildEmote(BaseDiscordClient, ulong, out DiscordEmoji)

Attempts to get an emoji object from an guild emote.

public static bool TryFromGuildEmote(BaseDiscordClient client, ulong id, out DiscordEmoji emoji)

Parameters

client BaseDiscordClient

BaseDiscordClient to attach to the object.

id ulong

Id of the emote.

emoji DiscordEmoji

Resulting DiscordEmoji object.

Returns

bool

Whether the operation was successful.