const snekfetch = require('snekfetch');

exports.create = (Bot, guild) => {
    guild.owner.send(`Thanks for adding me to your server! To see a list of my commands, send \`${Bot.config.defaultPrefix}help\`.\nFeel free to DM Aetheryx#2222 for any questions or concerns!`);
    postStats(Bot);
};

exports.delete = async (Bot, guild) => {
    await Bot.db.run('DELETE FROM prefixes WHERE guildID = ?;', guild.id);
    Bot.prefixes.delete(guild.id);
    postStats(Bot);
};

function postStats (Bot) {
    if (Bot.config.keys.botspw) {
        snekfetch
            .post(`https://bots.discord.pw/api/bots/${Bot.client.user.id}/stats`)
            .set('Authorization', Bot.config.keys.botspw)
            .send({ server_count: Bot.client.guilds.size })
            .end();
    }

    if (Bot.config.keys.dbots) {
        snekfetch
            .post(`https://discordbots.org/api/bots/${Bot.client.user.id}/stats`)
            .set('Authorization', Bot.config.keys.dbots)
            .send({ server_count: Bot.client.guilds.size })
            .end();
    }
}

@@ -499,316 +499,107 @@
     
-if (Bot.config.keys.botspw) %7B%0A        snekfetch%0A            .post(%60https://bots.discord.pw/api/bots/$%7BBot.client.user.id%7D/stats%60)%0A            .set('Authorization', Bot.config.keys.botspw)%0A            .send(%7B server_count: Bot.client.guilds.size %7D)%0A            .end();%0A    %7D%0A%0A    if (Bot.config.keys.dbots) %7B%0A
+Bot.botlists.forEach((token, url) =%3E %7B%0A        if (url) %7B%0A            console.log(url, token);%0A    
     
@@ -628,78 +628,27 @@
     
+    
 .post(
-%60https://discordbots.org/api/bots/$%7BBot.client.user.id%7D/stats%60)%0A
+url)%0A    
     
@@ -681,31 +681,19 @@
 n', 
-Bot.config.keys.dbots)%0A
+token)%0A    
     
@@ -764,16 +764,20 @@
     
+    
 .end();%0A
     
@@ -776,12 +776,24 @@
 ();%0A
+    
     %7D%0A
+    %7D);%0A
 %7D%0A

Add multi-botlist integration (+ novo and mayo)