remove submodules

This commit is contained in:
Jonny_Bro (Nikita) 2023-06-22 19:44:01 +05:00
parent e15dff3185
commit 9948fcc31b
4 changed files with 2 additions and 11 deletions

3
.gitmodules vendored
View file

@ -1,3 +0,0 @@
[submodule "dashboard/--force"]
path = dashboard/--force
url = https://github.com/JonnyBro/dashboard-core

View file

@ -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: {},
};

@ -1 +0,0 @@
Subproject commit 849a93887a10fd2007369142bdd4dad84065937f

View file

@ -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: {