mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 06:10:49 +02:00
Change to kitsu.io
This commit is contained in:
@@ -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(/'/g, '\'')
|
||||
.replace(/—/g, '—')
|
||||
.replace(/("|")/g, '"')
|
||||
.replace(/&/g, '&')
|
||||
.replace(/(\[i\]|\[\/i\])/g, '*');
|
||||
}
|
||||
|
||||
static postStats(count, id) {
|
||||
snekfetch
|
||||
.post(`https://bots.discord.pw/api/bots/${id}/stats`)
|
||||
|
||||
Reference in New Issue
Block a user