Discore
Show / Hide Table of Contents

Method ForGuildIcon

| Improve this Doc View Source

ForGuildIcon(Snowflake, string)

Creates a CDN URL builder for guild icons.

Declaration
public static DiscordCdnUrl ForGuildIcon(Snowflake guildId, string iconHash)
Parameters
Type Name Description
Snowflake guildId

The ID of the guild.

string iconHash

The icon hash for the guild.

Returns
Type Description
DiscordCdnUrl
Exceptions
Type Condition
ArgumentNullException

Thrown if iconHash is null.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX