Hotfix abandonall

This commit is contained in:
Snazzah 2020-08-14 12:48:03 -05:00
parent 93b937dce7
commit 44fcbe589f
No known key found for this signature in database
GPG key ID: 5E71D54F3D86282E

View file

@ -28,8 +28,7 @@ module.exports = class AbaondonAll extends Command {
`Are you sure you want to abandon all supports from that account? *(${ `Are you sure you want to abandon all supports from that account? *(${
supportsCount.toLocaleString()} support[s])*` supportsCount.toLocaleString()} support[s])*`
})) return; })) return;
const response = await Util.LBRY.abandonAllClaims(this.client, account.accountID); await Util.LBRY.abandonAllClaims(this.client, account.accountID);
if (await this.handleResponse(message, response)) return;
return message.channel.createMessage('Abandoned all claims.'); return message.channel.createMessage('Abandoned all claims.');
} }