Skip to content

Commit

Permalink
Fix badges not rendering correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
WinG4merBR committed Jan 12, 2025
1 parent 15c9815 commit f09f06c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,14 @@ class ProfileRender(
context.db.utils.profile.getBadges()
}


val member = try {
context.jda.getGuildById(Constants.SUPPORT_SERVER_ID)
context.foxy.shardManager.getGuildById(Constants.SUPPORT_SERVER_ID)
?.retrieveMemberById(user.id)
?.await()
} catch (e: ErrorResponseException) {
if (e.errorCode == 10007) {
println(e)
null
} else {
throw e
Expand Down

0 comments on commit f09f06c

Please sign in to comment.