const { Router } = require("express") const { Client } = require("discord.js") const router = Router() router.get("/", (req, res) => { const guildCount = Client.guilds.cache.size || 0 res.render("home", { guildCount }); }); module.exports = router