Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Member Avatars & Avatar->Icon refactor #401

Merged
merged 7 commits into from
Oct 1, 2021

Conversation

ByteAlex
Copy link
Contributor

No description provided.

Copy link
Member

@HopeBaron HopeBaron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The overall design is pretty good. Im against making retrieving something related to the user from the avatar, when we can get the default avatar from the user itself with a property or a function as a defaultAvatar. Icons shall represent an image and shall not depend on external data of another entity.

core/src/main/kotlin/entity/Icon.kt Outdated Show resolved Hide resolved
core/src/main/kotlin/entity/Icon.kt Outdated Show resolved Hide resolved
core/src/main/kotlin/entity/Icon.kt Outdated Show resolved Hide resolved
core/src/main/kotlin/entity/User.kt Outdated Show resolved Hide resolved
@ByteAlex ByteAlex requested a review from HopeBaron September 30, 2021 19:53
@ByteAlex ByteAlex mentioned this pull request Sep 30, 2021
rest/src/main/kotlin/route/DiscordCDN.kt Outdated Show resolved Hide resolved
rest/src/main/kotlin/route/DiscordCDN.kt Outdated Show resolved Hide resolved
@ByteAlex ByteAlex requested a review from BartArys October 1, 2021 10:57
@HopeBaron HopeBaron merged commit f7c5543 into kordlib:0.8.x Oct 1, 2021
@HopeBaron HopeBaron added the hacktoberfest-accepted Pull requests participating in hacktoberfest label Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Pull requests participating in hacktoberfest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants