This commit is contained in:
March 7th 2022-04-27 20:37:32 +07:00
parent 7bf1213989
commit e4c0c84984

View File

@ -371,6 +371,14 @@ class Client extends BaseClient {
return new Invite(this, data); 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 * Get Nitro
* @param {string<NitroCode>} nitro Nitro Code * @param {string<NitroCode>} nitro Nitro Code