URLs for images on Discord's CDN.
Images come as WebP, animated ones too (?animated=true), as Discord
recommends: images uploaded as WebP or AVIF don't convert cleanly to GIF.
Functions taking opts accept :size (a power of 2 from 16 to 4096) and
:format (:webp, :png, :jpg, :gif or :avif).
Lingo.CDN.user_avatar(user, size: 128)
Lingo.CDN.guild_icon(guild, format: :png)
Summary
Functions
An application icon's URL.
A user's or member's avatar decoration URL, or nil.
The URL of the default avatar Discord gives a user without one.
A custom emoji's image URL.
A guild's banner URL, or nil.
A guild's discovery splash URL, or nil.
A guild's icon URL, or nil.
A guild's invite splash URL, or nil.
The badge of a user's server tag, or nil.
A member's guild-specific avatar URL, or nil.
A member's guild-specific banner URL, or nil.
A role's icon URL, or nil.
A scheduled event's cover image URL, or nil.
A soundboard sound's audio file URL (MP3 or Ogg).
A sticker's image URL, by its format type.
A user's avatar URL, or their default avatar's.
A user's profile banner URL, or nil.
Functions
An application icon's URL.
A user's or member's avatar decoration URL, or nil.
The URL of the default avatar Discord gives a user without one.
A custom emoji's image URL.
A guild's banner URL, or nil.
A guild's discovery splash URL, or nil.
A guild's icon URL, or nil.
A guild's invite splash URL, or nil.
The badge of a user's server tag, or nil.
A member's guild-specific avatar URL, or nil.
A member's guild-specific banner URL, or nil.
A role's icon URL, or nil.
A scheduled event's cover image URL, or nil.
A soundboard sound's audio file URL (MP3 or Ogg).
A sticker's image URL, by its format type.
A user's avatar URL, or their default avatar's.
A user's profile banner URL, or nil.