Skip to content

Commit

Permalink
Fix DJ's lint + fmt failing code
Browse files Browse the repository at this point in the history
  • Loading branch information
Blocksnmore committed Dec 3, 2023
1 parent a76ab25 commit d743a2f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/interactions/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ export class InteractionsClient extends HarmonyEventEmitter<InteractionsClientEv
client,
data,
resolved.users[id],
guild!
guild as Guild
)
}

Expand All @@ -549,11 +549,7 @@ export class InteractionsClient extends HarmonyEventEmitter<InteractionsClientEv
(payload.data as InteractionApplicationCommandData).resolved?.roles ??
{}
)) {
resolved.roles[id] = new Role(
client,
data,
guild!
)
resolved.roles[id] = new Role(client, data, guild as Guild)
}

for (const [id, data] of Object.entries(
Expand Down

0 comments on commit d743a2f

Please sign in to comment.