No wonder I was confused

This commit is contained in:
Daniel Odendahl Jr
2017-07-05 15:46:04 +00:00
parent f7a5032b88
commit 56758020ba
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "26.2.3",
"version": "26.2.4",
"description": "Your personal server companion.",
"main": "Shard.js",
"scripts": {
+4 -4
View File
@@ -16,8 +16,8 @@ class Util {
.post(`https://bots.discord.pw/api/bots/${id}/stats`)
.set({ Authorization: dbotsKey })
.send({ server_count: count })
.then(() => console.log('[CARBON] Successfully posted to Carbon.'))
.catch((err) => console.error(`[CARBON] Failed to post to Carbon. ${err}`));
.then(() => console.log('[DBOTS] Successfully posted to Discord Bots.'))
.catch((err) => console.error(`[DBOTS] Failed to post to Discord Bots. ${err}`));
}
static carbon(count) {
@@ -27,8 +27,8 @@ class Util {
key: carbonKey,
servercount: count
})
.then(() => console.log('[DBOTS] Successfully posted to Discord Bots.'))
.catch((err) => console.error(`[DBOTS] Failed to post to Discord Bots. ${err}`));
.then(() => console.log('[CARBON] Successfully posted to Carbon.'))
.catch((err) => console.error(`[CARBON] Failed to post to Carbon. ${err}`));
}
}