Skip to content

Commit

Permalink
Pass client in param
Browse files Browse the repository at this point in the history
  • Loading branch information
bsian03 committed Aug 17, 2021
1 parent f8f77c6 commit 3a1b26a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gateway/Shard.js
Original file line number Diff line number Diff line change
Expand Up @@ -2223,7 +2223,7 @@ class Shard extends EventEmitter {
* @event Client#stageInstanceCreate
* @prop {StageInstance} stageInstance The stage instance
*/
this.emit("stageInstanceCreate", guild.stageInstances.add(packet.d));
this.emit("stageInstanceCreate", guild.stageInstances.add(packet.d, this.client));
break;
}
case "STAGE_INSTANCE_UPDATE": {
Expand Down

0 comments on commit 3a1b26a

Please sign in to comment.