mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ class Util {
|
|||||||
.catch((err) => console.error(`[DBOTSORG] Failed to post to Discord Bots Org. ${err}`));
|
.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
|
const { body } = await snekfetch
|
||||||
.get(`https://discordbots.org/api/bots/${id}/votes`)
|
.get(`https://discordbots.org/api/bots/${id}/votes`)
|
||||||
.set({ Authorization: dbotsOrgKey });
|
.set({ Authorization: dbotsOrgKey });
|
||||||
|
|||||||
Reference in New Issue
Block a user