diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 1fcd8c8d..00000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "dashboard/--force"] - path = dashboard/--force - url = https://github.com/JonnyBro/dashboard-core diff --git a/config.sample.js b/config.sample.js index d8b63cb2..76d20fdc 100644 --- a/config.sample.js +++ b/config.sample.js @@ -14,7 +14,6 @@ module.exports = { /* Dashboard configuration */ dashboard: { enabled: true, // Whether the dashboard is enabled or not - license: "", // Licence from https://assistantscenter.com/licenses/opensource maintanceKey: "", // Your maintance key port: 80, // Dashboard port domain: "http://localhost", // The base URL of the dashboard without / at the end @@ -33,6 +32,5 @@ module.exports = { name: "XXXXXXXXXXX#1234", // And the name of the bot's owner }, /* The API keys that are required for certain commands */ - /* Not used right now */ apiKeys: {}, }; \ No newline at end of file diff --git a/dashboard/--force b/dashboard/--force deleted file mode 160000 index 849a9388..00000000 --- a/dashboard/--force +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 849a93887a10fd2007369142bdd4dad84065937f diff --git a/dashboard/dashboard.js b/dashboard/dashboard.js index aa9c6aa1..5e9f5e99 100644 --- a/dashboard/dashboard.js +++ b/dashboard/dashboard.js @@ -1,5 +1,5 @@ -const SoftUI = require("dbd-soft-ui"), - DBD = require("discord-dashboard"); +const SoftUI = require("./dashboard-core/theme/dbd-soft-ui"), + DBD = require("./dashboard-core/index"); /** * @@ -34,9 +34,6 @@ module.exports.load = async client => { }; }); - await DBD.useLicense(client.config.dashboard.license); - DBD.Dashboard = DBD.UpdatedClass(); - const Dashboard = new DBD.Dashboard({ port: client.config.dashboard.port, client: {