feature: Add GetEmotesAsync to IGuild (#1781)

This commit is contained in:
NeKz
2021-04-28 16:08:56 +02:00
committed by GitHub
parent 0715d7db96
commit df23d57458
5 changed files with 29 additions and 0 deletions

View File

@@ -1008,6 +1008,9 @@ namespace Discord.WebSocket
//Emotes
/// <inheritdoc />
public Task<IReadOnlyCollection<GuildEmote>> GetEmotesAsync(RequestOptions options = null)
=> GuildHelper.GetEmotesAsync(this, Discord, options);
/// <inheritdoc />
public Task<GuildEmote> GetEmoteAsync(ulong id, RequestOptions options = null)
=> GuildHelper.GetEmoteAsync(this, Discord, id, options);
/// <inheritdoc />