This commit is contained in:
Daniel Odendahl Jr
2017-07-12 15:06:18 +00:00
parent b1bfeaa959
commit f6f1e7d093
+1 -1
View File
@@ -40,7 +40,7 @@ class Util {
.catch((err) => console.error(`[DBOTSORG] Failed to post to Discord Bots Org. ${err}`));
}
async static upvoters(id) {
static async upvoters(id) {
const { body } = await snekfetch
.get(`https://discordbots.org/api/bots/${id}/votes`)
.set({ Authorization: dbotsOrgKey });