Tetrod: a Discord bot

Add the bot: https://discord.com/oauth2/authorize?client_id=842062315490771034&scope=applications.commands (this bot is not public so the link won’t work)

Built using Express.js and Puppeteer, hosted on Glitch.

Adds a /jstris command that generates a private Jstris room.

Environment variables

  • DISCORD_APP_ID: The “Application ID” in Discord
  • DISCORD_APP_PUBLIC_KEY: The “Public Key” in Discord
  • DISCORD_BOT_TOKEN: The “Token” you can copy after creating a bot account