Is your feature request related to a problem? Please describe.
Easier way to fetch images
Describe the solution you'd like
Currently, an image src tag for users and guilds looks something like this: "https://cdn.discordapp.com/avatars/" . Auth()->user()->id . "/" . Auth()->user()->avatar . ".png" }}"
I feel having a trait for guild icons and user avatars would be beneficial so that an src would be: Auth()->user()->getAvatar()
With some parameters for size, image type, and color for the default discord logo if the user has no profile picture
Additional context
If you feel like this would be a good feature, I'll work on a PR 👍
Is your feature request related to a problem? Please describe. Easier way to fetch images
Describe the solution you'd like Currently, an image src tag for users and guilds looks something like this:
"https://cdn.discordapp.com/avatars/" . Auth()->user()->id . "/" . Auth()->user()->avatar . ".png" }}"
I feel having a trait for guild icons and user avatars would be beneficial so that an src would be:
Auth()->user()->getAvatar()
With some parameters for size, image type, and color for the default discord logo if the user has no profile picture
Additional context If you feel like this would be a good feature, I'll work on a PR 👍