Discord Elixir v1.1.18 DiscordEx.RestClient.Resources.Image View Source
Convience helper for images
Link to this section Summary
Link to this section Functions
Get the user avatar URL
Parameters
- user_id: The user_id to retrieve the avatar URL for
- avatar_id: The avatar_id for the user to retrieve the avatar URL for
Examples
Image.avatar_url("99999999993832","f3e8329c329020329")
Get the guild icon URL
Parameters
- server_id: The server_id to retrieve the icon URL for
- icon_id: The icon_id for the user to retrieve the icon URL for
Examples
Image.icon_url("99999999993832","f3e8329c329020329")