<!DOCTYPE html>
<html>
<body>
<div id="id01"></div>
<script>
var botCommands = [
{
"command": "discord",
"userType": "mod",
"description": "You can join the Derpy Gaming Network discord by clicking this link: https://discord.gg/0nCaX7zRQ4pOgcXI"
},
{
"command": "minuette",
"userType": "user",
"description": "I am a Twitch Chat Bot."
},
{
"command": "twitter",
"userType": "caster",
"description": "Follow me on Twitter! | https://twitter.com/TheDerpySupport"
}
];
botFunction(botCommands);
function botFunction(arr) {
var out = "";
var i;
for(i = 0; i < arr.length; i++) {
out += arr[i].command + " | " + arr[i].userType + " | " + arr[i].description +'<br>';
}
document.getElementById("id01").innerHTML = out;
}
</script>
</body>
</html>