From e4c0c84984d8d1f78730a684b43312e0141841b9 Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Wed, 27 Apr 2022 20:37:32 +0700 Subject: [PATCH] .-. --- src/client/Client.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/client/Client.js b/src/client/Client.js index 3c1bbf1..163086e 100644 --- a/src/client/Client.js +++ b/src/client/Client.js @@ -371,6 +371,14 @@ class Client extends BaseClient { return new Invite(this, data); } + // TODO: Remove this in the next major version + reddemNitro(code) { + process.emitWarning( + 'This function will no longer be available after a major update. Using .redeemNitro()\nSee here: https://github.com/aiko-chan-ai/discord.js-selfbot-v13/pull/59', + 'DeprecationWarning', + ); + return this.redeemNitro(code); + } /** * Get Nitro * @param {string} nitro Nitro Code