From 04144a765f21fdf1738d78a91983dd3354b7f733 Mon Sep 17 00:00:00 2001 From: Nico105 <63612668+Nico105@users.noreply.github.com> Date: Fri, 24 Dec 2021 14:15:44 +0100 Subject: [PATCH] remove deprecated channel#deleted --- src/Manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Manager.js b/src/Manager.js index f984e107..270e1b95 100644 --- a/src/Manager.js +++ b/src/Manager.js @@ -205,7 +205,7 @@ class GiveawaysManager extends EventEmitter { start(channel, options) { return new Promise(async (resolve, reject) => { if (!this.ready) return reject('The manager is not ready yet.'); - if (!channel?.id || !channel.isText() || channel.deleted) { + if (!channel?.id || !channel.isText()) { return reject(`channel is not a valid text based channel. (val=${channel})`); } if (channel.isThread() && !channel.sendable) {