<!doctype html>
<html prefix="og: http://ogp.me/ns#">
    <head>
    <% include ./partials/header.ejs %>
    <% include ./partials/nav.ejs %>
            <link rel="icon" type="image/jpg" href="https://media.discordapp.net/attachments/506425178822279168/507496898823847936/dbr.png">
            <title>Get your API token</title>
    </head>
    <body>
        <noscript>
          <div class="alert alert-danger" role="alert">
            This website requires Javascript to work. Please enable Javascript or use a browser that supports Javascript.
          </div>
          </noscript>
        <div class="container">
	  <h2>API Token</h2><br>
	  <p style="color: red !important">DO NOT SHARE THIS KEY TO <b>ANYONE</b>, EVEN THE ONES YOU TRUST!!!</p>
	  <div style="card shadow-lg" style="background-color: #1f1f1f">
	    <p style="padding:8px;background-color: black; width:100%;"><code><% if(bot.tokens.has(botid)) {%>
<%=bot.tokens.get(botid, "token")%> <% } else {%> No token, generate one by clicking the button under <% } %></code></p>
          </div>
	  <br><a class="btn btn-danger" href="/bot/<%=botid%>/redeem-token">Redeem New Token</a>
	</div>
    </body>
</html>
