From 34a6623e6ea170749870eccd09e545c15b495b9d Mon Sep 17 00:00:00 2001 From: Bsian Date: Tue, 29 Jun 2021 23:42:48 +0100 Subject: [PATCH] Fix incorrectly named constructor param --- lib/structures/NewsThreadChannel.js | 4 ++-- lib/structures/PrivateThreadChannel.js | 4 ++-- lib/structures/PublicThreadChannel.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/structures/NewsThreadChannel.js b/lib/structures/NewsThreadChannel.js index 7eb981f22..053074517 100644 --- a/lib/structures/NewsThreadChannel.js +++ b/lib/structures/NewsThreadChannel.js @@ -7,8 +7,8 @@ const ThreadChannel = require("./ThreadChannel"); * @extends ThreadChannel */ class NewsThreadChannel extends ThreadChannel { - constructor(data, guild, messageLimit) { - super(data, guild, messageLimit); + constructor(data, client, messageLimit) { + super(data, client, messageLimit); } } diff --git a/lib/structures/PrivateThreadChannel.js b/lib/structures/PrivateThreadChannel.js index f81f0e017..f865f1250 100644 --- a/lib/structures/PrivateThreadChannel.js +++ b/lib/structures/PrivateThreadChannel.js @@ -7,8 +7,8 @@ const ThreadChannel = require("./ThreadChannel"); * @extends ThreadChannel */ class PrivateThreadChannel extends ThreadChannel { - constructor(data, guild, messageLimit) { - super(data, guild, messageLimit); + constructor(data, client, messageLimit) { + super(data, client, messageLimit); } } diff --git a/lib/structures/PublicThreadChannel.js b/lib/structures/PublicThreadChannel.js index 1fe71ecc4..62cf74a86 100644 --- a/lib/structures/PublicThreadChannel.js +++ b/lib/structures/PublicThreadChannel.js @@ -7,8 +7,8 @@ const ThreadChannel = require("./ThreadChannel"); * @extends ThreadChannel */ class PublicThreadChannel extends ThreadChannel { - constructor(data, guild, messageLimit) { - super(data, guild, messageLimit); + constructor(data, client, messageLimit) { + super(data, client, messageLimit); } }