Remove carbon, rip

This commit is contained in:
Daniel Odendahl Jr
2017-08-30 00:40:45 +00:00
parent 6360f8dd7a
commit 46bffefa68
4 changed files with 4 additions and 17 deletions
+1 -12
View File
@@ -1,6 +1,6 @@
const snekfetch = require('snekfetch');
const { promisify } = require('util');
const { CARBON_KEY, DBOTS_KEY, DBOTSORG_KEY } = process.env;
const { DBOTS_KEY, DBOTSORG_KEY } = process.env;
class Util {
static cleanXML(str) {
@@ -22,17 +22,6 @@ class Util {
.catch(err => console.error(`[DBOTS] Failed to post to Discord Bots. ${err}`));
}
static carbon(count) {
snekfetch
.post('https://www.carbonitex.net/discord/data/botdata.php')
.send({
key: CARBON_KEY,
servercount: count
})
.then(() => console.log('[CARBON] Successfully posted to Carbon.'))
.catch(err => console.error(`[CARBON] Failed to post to Carbon. ${err}`));
}
static dBotsOrg(count, id) {
snekfetch
.post(`https://discordbots.org/api/bots/${id}/stats`)