Method ModifyGuildEmojiAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
ModifyGuildEmojiAsync(ulong, ulong, string, IEnumerable<ulong>, string)
Modifies a guild's emoji.
public Task<DiscordGuildEmoji> ModifyGuildEmojiAsync(ulong guildId, ulong emojiId, string name, IEnumerable<ulong> roles = null, string reason = null)
Parameters
guildId
ulongThe ID of the guild.
emojiId
ulongThe ID of the emoji.
name
stringNew name of the emoji.
roles
IEnumerable<ulong>Roles for which the emoji will be available.
reason
stringReason for audit logs.