Skip to content

Commit

Permalink
refactor: pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
liy77 committed Feb 13, 2024
1 parent 1c78f69 commit 6af0a91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/darkcord/src/utils/Resolvable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ export namespace Resolvable {
interaction.member =
guild.members.cache.get(
(interaction as Interaction<true>).member!.user?.id!,
) ?? guild.members.add(new Member(interaction.rawData.member!, guild));
) ??
guild.members.add(new Member(interaction.rawData.member!, guild));
}
}

Expand Down

0 comments on commit 6af0a91

Please sign in to comment.