Skip to content

Commit

Permalink
fix(interactions): static function client reference (#1334)
Browse files Browse the repository at this point in the history
  • Loading branch information
d00mster0 authored Feb 10, 2022
1 parent 4ca306d commit c6b380b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/structures/Interaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Interaction extends Base {
}
}

this._client.emit("warn", new Error(`Unknown interaction type: ${data.type}\n${JSON.stringify(data)}`));
client.emit("warn", new Error(`Unknown interaction type: ${data.type}\n${JSON.stringify(data)}`));
return new UnknownInteraction(data, client);
}
}
Expand Down

0 comments on commit c6b380b

Please sign in to comment.