Closed HeCodes2Much closed 1 year ago
Hey, did you test your code?
ofc its running at http://bot.therepo.club
Hey, I just tested your code. I think it would be better if the "public" option was in the main theme file, so that the user doesn't have to worry about that when using a public theme.
const { join } = require("path");
const BASE_PATH = ".";
module.exports = {
home: join(__dirname, BASE_PATH, "index.ejs"),
guild: join(__dirname, BASE_PATH, "guild.ejs"),
selector: join(__dirname, BASE_PATH, "selector.ejs"),
commands: join(__dirname, BASE_PATH, "commands.ejs"),
404: join(__dirname, BASE_PATH, "404.ejs"),
publicFiles: join(__dirname,BASE_PATH, "public")
};
ya that may work better :)
Added a
public: path/to/public/files
to the config