From a87bca863be5415ebb5165d41fe21698718ee929 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sun, 19 Dec 2021 17:16:15 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BA=D0=B0=D0=B7=D1=8B=D0=B2?= =?UTF-8?q?=D0=B0=D1=82=D1=8C=20=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F=20=D0=B8=20=D0=BA=D0=BE=D0=BC=D0=B0=D0=BD?= =?UTF-8?q?=D0=B4=D1=8B=20=D0=B1=D0=B5=D0=B7=20=D0=B0=D0=B2=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Moderation/sanctions.js | 2 +- dashboard/routes/commands.js | 3 +-- dashboard/routes/updates.js | 3 +-- dashboard/views/commands.ejs | 32 ++------------------------------ dashboard/views/docs/updates.md | 9 +++++++++ dashboard/views/updates.ejs | 32 ++------------------------------ 6 files changed, 16 insertions(+), 65 deletions(-) diff --git a/commands/Moderation/sanctions.js b/commands/Moderation/sanctions.js index 77c081bf..1064190a 100644 --- a/commands/Moderation/sanctions.js +++ b/commands/Moderation/sanctions.js @@ -8,7 +8,7 @@ class Sanctions extends Command { dirname: __dirname, enabled: true, guildOnly: true, - aliases: [ "warns", "see-warns", "view-warns", "see-sanctions", "view-sanctions", "infractions", "view-infractions", "see-infractions" ], + aliases: [ "warns" ], memberPermissions: [ "MANAGE_MESSAGES" ], botPermissions: [ "SEND_MESSAGES", "EMBED_LINKS" ], nsfw: false, diff --git a/dashboard/routes/commands.js b/dashboard/routes/commands.js index 022f672a..e73018bb 100644 --- a/dashboard/routes/commands.js +++ b/dashboard/routes/commands.js @@ -1,10 +1,9 @@ const express = require("express"), router = express.Router(), - CheckAuth = require("../auth/CheckAuth"), fs = require("fs"), marked = require("marked"); -router.get("/", CheckAuth, function (req, res) { +router.get("/", function (req, res) { var md = function (filename) { return marked.parse(fs.readFileSync("./dashboard/views/docs/" + filename, "utf8")); }; diff --git a/dashboard/routes/updates.js b/dashboard/routes/updates.js index 6e720097..b806283b 100644 --- a/dashboard/routes/updates.js +++ b/dashboard/routes/updates.js @@ -1,10 +1,9 @@ const express = require("express"), router = express.Router(), - CheckAuth = require("../auth/CheckAuth"), fs = require("fs"), marked = require("marked"); -router.get("/", CheckAuth, function (req, res) { +router.get("/", function (req, res) { var md = function (filename) { return marked.parse(fs.readFileSync("./dashboard/views/docs/" + filename, "utf8")); }; diff --git a/dashboard/views/commands.ejs b/dashboard/views/commands.ejs index 9d8155f6..57ce9d54 100644 --- a/dashboard/views/commands.ejs +++ b/dashboard/views/commands.ejs @@ -1,36 +1,8 @@ -<%- include('includes/head') %> - -
- - - <%- include('includes/header') %> - - - <%- include('includes/sidebar') %> - - -
- - -
-

Команды Dashboard v1.0

- -
- -
- <%- md("commands.md") %> -
-
- - - <%- include('includes/footer') %> -
- + + <%- md("commands.md") %> \ No newline at end of file diff --git a/dashboard/views/docs/updates.md b/dashboard/views/docs/updates.md index 071b8479..4016f982 100644 --- a/dashboard/views/docs/updates.md +++ b/dashboard/views/docs/updates.md @@ -1,3 +1,12 @@ +# JaBa v3.0.1 + +### Добавлено +* Команда **loop** - переключение повтора одного трека или всей очереди (*loop song/queue*). + +### Изменения +* Администраторы и модераторы могут использовать **skip**, **back** и **stop** принудительно (*skip/back/stop force/f*). +* Уменьшено количество требуемых голосов для команд **skip**, **stop** и **back**. + # JaBa v3.0 ### Описание diff --git a/dashboard/views/updates.ejs b/dashboard/views/updates.ejs index c9114625..c958e37f 100644 --- a/dashboard/views/updates.ejs +++ b/dashboard/views/updates.ejs @@ -1,36 +1,8 @@ -<%- include('includes/head') %> - -
- - - <%- include('includes/header') %> - - - <%- include('includes/sidebar') %> - - -
- - -
-

Обновления Dashboard v1.0

- -
- -
- <%- md("updates.md") %> -
-
- - - <%- include('includes/footer') %> -
- + + <%- md("updates.md") %> \ No newline at end of file