<gh_stars>1-10
const fs = require("fs");
const { Client, Collection } = require("discord.js");
const { Statuspage, StatuspageUpdates } = require("statuspage.js");
const Profiles = require("profiles.js");
const configuration = require("../../config.json");

class Application extends Client {
  constructor(options) {
    super(options || []);
    this.commands = new Collection();

    this.config = require("../../config.json");
    this.badges = require("./badges.json");
    this.profiles = new Profiles({
      api_key: configuration.api_key,
    });

    this.statuspage = { statuspage: configuration.statuspage };
    this.statuspageStatus = new Statuspage(configuration.statuspage);
    this.statuspage.statusElements = require("./statusElements.json");
    this.statuspageUpdates = new StatuspageUpdates(configuration.statuspage);
  }
}

module.exports = Application;
