diff --git a/commands/General/setafk.js b/commands/General/setafk.js index e9df0d4a..3956da76 100644 --- a/commands/General/setafk.js +++ b/commands/General/setafk.js @@ -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(() => { diff --git a/dashboard/routes/updates.js b/dashboard/routes/updates.js deleted file mode 100644 index b806283b..00000000 --- a/dashboard/routes/updates.js +++ /dev/null @@ -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; \ No newline at end of file