Package org.javacord.api.event.user
Interface UserChangeAvatarEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IcongetNewAvatar()Gets the new avatar of the user.IcongetOldAvatar()Gets the old avatar of the user.booleannewAvatarIsDefaultAvatar()Checks if the new avatar is a default avatar.booleanoldAvatarIsDefaultAvatar()Checks if the old avatar is a default avatar.
-
-
-
Method Detail
-
getNewAvatar
Icon getNewAvatar()
Gets the new avatar of the user.- Returns:
- The new avatar of the user.
-
newAvatarIsDefaultAvatar
boolean newAvatarIsDefaultAvatar()
Checks if the new avatar is a default avatar.- Returns:
- Whether the new avatar is a default avatar or not.
-
getOldAvatar
Icon getOldAvatar()
Gets the old avatar of the user.- Returns:
- The old avatar of the user.
-
oldAvatarIsDefaultAvatar
boolean oldAvatarIsDefaultAvatar()
Checks if the old avatar is a default avatar.- Returns:
- Whether the old avatar is a default avatar or not.
-
-