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

Commit

Permalink
fix #11 ユーザー情報にアイコンURLを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
yogarasu committed Aug 18, 2022
1 parent 038c1ff commit f206e49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/user.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export interface User {
deleted: boolean
is_bot: boolean
color: string | "808080"
icon_url: string
}
discord: {
id: string
Expand Down Expand Up @@ -72,6 +73,7 @@ export const buildUser = async (
deleted: user.deleted || false,
is_bot: user.is_bot || false,
color: user.color || "808080",
icon_url: user.profile?.image_512 || "",
},
discord: {
id: "",
Expand Down

0 comments on commit f206e49

Please sign in to comment.