Hey there,
I am having an issue with my glitch project. natebot-evidence
and what happens is that I was attempting to add a feature where it filters a user and they get certain badges into profile.ejs
E.g. Myself gets owner, Evidence Staff badges and my admin gets Staff badge.
However, after having attempted adding the badges. They kinda worked but also crashed by project and gave the Error: Error: http request timeout
when attempting to access the site, login with Discord oauth2 etc.
And the code for displaying badges
<% if (user=MYUSERID) { %>
<span class="badge badge-danger">Server Staff Member</span> <span class="badge badge-dark">Nate Bot Staff</span> <span class="badge badge-primary">Owner</span>
<% } else {%>
<span class="badge badge-danger">Server Staff Member</span>
<% } %> //Lost the code snippet (uses else if) to define if there is another user to get different roles
I am not sure why its doing this. I haven’t done ejs in a while rip
Thanks