Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Commit

Permalink
Fix outdated method
Browse files Browse the repository at this point in the history
  • Loading branch information
gavenda committed Aug 3, 2023
1 parent fc2f6d0 commit 980ce47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ suspend fun EphemeralSlashCommand<*, *>.server() {
color = Color(InformationExtension.EMBED_COLOR)

thumbnail {
url = guild.getIconUrl(Image.Format.WEBP) ?: ""
url = guild.icon?.cdnUrl?.toUrl { format = Image.Format.WEBP } ?: ""
}

field {
Expand Down

0 comments on commit 980ce47

Please sign in to comment.