avatar property

ImageFormater? get avatar

Get the avatar of an Guild context.

Implementation

ImageFormater? get avatar => _avatar != null
    ? ImageFormater(_avatar, 'guilds/${guild.id}/users/${user.id}/avatars')
    : null;