<%- include('partials/navbar.ejs', {now:'manage'}) %>

Your servers

Select the server you want to configure

<% for(var i in req.session.guilds) { %> <% if((req.session.guilds[i].permissions & 0x0400) == 0x0400){ %> <% if(bot.guilds.cache.get(req.session.guilds[i].id)){ const guild = bot.guilds.cache.get(req.session.guilds[i].id); let icon; if (!guild.iconURL()) icon = themeConfig?.icons?.noGuildIcon; else icon = guild.iconURL() + "?size=256"; %>
<% } } } %>
<% for (var i in req.session.guilds){ %> <% if((req.session.guilds[i].permissions & 0x20) == 0x20 || (req.session.guilds[i].permissions & 0x08) == 0x08){ %> <% if(!bot.guilds.cache.get(req.session.guilds[i].id)){ let icon = `https://cdn.discordapp.com/icons/${req.session.guilds[i].id}/${req.session.guilds[i].icon}.png`; const friendlyName = req.session.guilds[i].name.replace('`', ''); if (!req.session.guilds[i].icon) icon = themeConfig.icons.noGuildIcon; else icon = icon + "?size=256" %>
<% } } } %>
<%- include('partials/footer.ejs') %>
<%- include('partials/scripts.ejs', {now: "guilds"}) %>