Update Deps

This commit is contained in:
Daniel Odendahl Jr
2017-07-12 23:57:14 +00:00
parent f6f1e7d093
commit c80caedffe
3 changed files with 14 additions and 19 deletions
-7
View File
@@ -39,13 +39,6 @@ class Util {
.then(() => console.log('[DBOTSORG] Successfully posted to Discord Bots Org.'))
.catch((err) => console.error(`[DBOTSORG] Failed to post to Discord Bots Org. ${err}`));
}
static async upvoters(id) {
const { body } = await snekfetch
.get(`https://discordbots.org/api/bots/${id}/votes`)
.set({ Authorization: dbotsOrgKey });
return body.map((user) => `${user.username}#${user.discriminator}`);
}
}
module.exports = Util;