diff --git a/theme/dbd-soft-ui/views/guilds.ejs b/theme/dbd-soft-ui/views/guilds.ejs index ed30d93..04a3fc3 100644 --- a/theme/dbd-soft-ui/views/guilds.ejs +++ b/theme/dbd-soft-ui/views/guilds.ejs @@ -46,7 +46,7 @@
<% for (var i in req.session.guilds){ %> - <% if((req.session.guilds[i].permissions & 0x20) == 0x20){ %> + <% 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`; @@ -90,8 +90,6 @@ Scrollbar.init(document.querySelector('#sidenav-scrollbar'), options); } - - <%- include('partials/scripts.ejs', {now: "guilds"}) %> diff --git a/theme/dbd-soft-ui/views/settings.ejs b/theme/dbd-soft-ui/views/settings.ejs index 50b47f4..4eea0ac 100644 --- a/theme/dbd-soft-ui/views/settings.ejs +++ b/theme/dbd-soft-ui/views/settings.ejs @@ -156,8 +156,7 @@