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