This commit is contained in:
JonnyBro 2022-01-12 18:57:34 +05:00
parent 2233596391
commit 09894aab52
2 changed files with 1 additions and 20 deletions

View file

@ -35,7 +35,7 @@ class Setafk extends Command {
const m = await message.success("general/setafk:SUCCESS", {
reason,
prefix: data.guild.prefix
prefix: data.guild.prefix || "$"
});
setTimeout(() => {

View file

@ -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;