mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
фикс
This commit is contained in:
parent
2233596391
commit
09894aab52
2 changed files with 1 additions and 20 deletions
|
@ -35,7 +35,7 @@ class Setafk extends Command {
|
||||||
|
|
||||||
const m = await message.success("general/setafk:SUCCESS", {
|
const m = await message.success("general/setafk:SUCCESS", {
|
||||||
reason,
|
reason,
|
||||||
prefix: data.guild.prefix
|
prefix: data.guild.prefix || "$"
|
||||||
});
|
});
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
const express = require("express"),
|
|
||||||
router = express.Router(),
|
|
||||||
fs = require("fs"),
|
|
||||||
marked = require("marked");
|
|
||||||
|
|
||||||
router.get("/", function (req, res) {
|
|
||||||
var md = function (filename) {
|
|
||||||
return marked.parse(fs.readFileSync("./dashboard/views/docs/" + filename, "utf8"));
|
|
||||||
};
|
|
||||||
|
|
||||||
res.render("updates", {
|
|
||||||
user: req.userInfos,
|
|
||||||
translate: req.translate,
|
|
||||||
currentURL: `${req.client.config.dashboard.baseURL}/${req.originalUrl}`,
|
|
||||||
"md": md
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
module.exports = router;
|
|
Loading…
Reference in a new issue