diff --git a/src/commands/admin/abandonall.js b/src/commands/admin/abandonall.js index dd92b16..832ce89 100644 --- a/src/commands/admin/abandonall.js +++ b/src/commands/admin/abandonall.js @@ -37,7 +37,7 @@ module.exports = class AbaondonAll extends Command { header: 'Are you sure you want to abandon **all supports** from **all accounts**?' })) return; await this.client.startTyping(message.channel); - await Util.LBRY.syncPairs(); + await Util.LBRY.syncPairs(this.client); const pairs = await this.client.sqlite.getAll(); let count = 0; for (let i = 0, len = pairs.length; i < len; i++) { diff --git a/src/commands/admin/listall.js b/src/commands/admin/listall.js index 2d1985b..1742ff1 100644 --- a/src/commands/admin/listall.js +++ b/src/commands/admin/listall.js @@ -10,7 +10,7 @@ module.exports = class ListAll extends Command { async exec(message) { const pairs = await this.client.sqlite.getAll(); if (pairs <= 0) - return message.channel.createMessage('No pairs found in the database.'); + return message.channel.createMessage('No users found in the database.'); for (const pair of pairs) { const response = await this.client.lbry.accountBalance(pair.lbryID);