Skip to content

rapax00/halving-massacre-bot

Repository files navigation

Halving Massacre Bot

First iteration

Setup

  1. Start up project

    nvm use
    pnpm install
  2. Create and complete .env

    cp .env.example .env

    NOTE: data to complete this is in step 3

  3. Create and add bot to server

    • Go to Discord Developers Dashboard and create new app.

    • Invite yout bot to your server with that link, remplace DISCORD_APP_ID (Is the same of .env):

      https://discord.com/oauth2/authorize?client_id=DISCORD_APP_ID&permissions=328565197888&scope=bot+applications.commands
      
  4. Deploy commands

    node src/deployCommands.js

    NOTE: if you edit or create new commands in src/commands/utility need excecute again this command before run bot.

  5. Run bot

    pnpm dev

To Do

  • Create thread for the game
  • Handle messages from LNBits-bot
  • Watch blockchain
  • Implement halving massacre algorithm
  • User database
  • Beautifully code