mirror of
https://github.com/JonnyBro/JaBa.git
synced 2025-04-02 20:20:46 +05:00
remove submodules
This commit is contained in:
parent
e15dff3185
commit
9948fcc31b
4 changed files with 2 additions and 11 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +0,0 @@
|
||||||
[submodule "dashboard/--force"]
|
|
||||||
path = dashboard/--force
|
|
||||||
url = https://github.com/JonnyBro/dashboard-core
|
|
|
@ -14,7 +14,6 @@ module.exports = {
|
||||||
/* Dashboard configuration */
|
/* Dashboard configuration */
|
||||||
dashboard: {
|
dashboard: {
|
||||||
enabled: true, // Whether the dashboard is enabled or not
|
enabled: true, // Whether the dashboard is enabled or not
|
||||||
license: "", // Licence from https://assistantscenter.com/licenses/opensource
|
|
||||||
maintanceKey: "", // Your maintance key
|
maintanceKey: "", // Your maintance key
|
||||||
port: 80, // Dashboard port
|
port: 80, // Dashboard port
|
||||||
domain: "http://localhost", // The base URL of the dashboard without / at the end
|
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
|
name: "XXXXXXXXXXX#1234", // And the name of the bot's owner
|
||||||
},
|
},
|
||||||
/* The API keys that are required for certain commands */
|
/* The API keys that are required for certain commands */
|
||||||
/* Not used right now */
|
|
||||||
apiKeys: {},
|
apiKeys: {},
|
||||||
};
|
};
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 849a93887a10fd2007369142bdd4dad84065937f
|
|
|
@ -1,5 +1,5 @@
|
||||||
const SoftUI = require("dbd-soft-ui"),
|
const SoftUI = require("./dashboard-core/theme/dbd-soft-ui"),
|
||||||
DBD = require("discord-dashboard");
|
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({
|
const Dashboard = new DBD.Dashboard({
|
||||||
port: client.config.dashboard.port,
|
port: client.config.dashboard.port,
|
||||||
client: {
|
client: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue