Change to kitsu.io

This commit is contained in:
Daniel Odendahl Jr
2017-09-08 13:35:52 +00:00
parent b42ddbd754
commit d1a75461e1
4 changed files with 33 additions and 54 deletions
-10
View File
@@ -4,16 +4,6 @@ const { DBOTS_KEY, DBOTSORG_KEY } = process.env;
const { stripIndents } = require('common-tags');
class Util {
static cleanXML(str) {
return str
.replace(/<br \/>/g, '')
.replace(/&#039;/g, '\'')
.replace(/&mdash;/g, '—')
.replace(/(&#034;|&quot;)/g, '"')
.replace(/&#038;/g, '&')
.replace(/(\[i\]|\[\/i\])/g, '*');
}
static postStats(count, id) {
snekfetch
.post(`https://bots.discord.pw/api/bots/${id}/stats`)