GithubHelp home page GithubHelp logo

rapax00 / halving-massacre-bot Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 80 KB

Discord bot to play Halving Masscare Game.

Home Page: https://github.com/lacrypta/halving-massacre

JavaScript 98.56% Dockerfile 1.44%
bitcoin discord-bot game halving

halving-massacre-bot's Introduction

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

halving-massacre-bot's People

Contributors

rapax00 avatar tincho70 avatar

Watchers

 avatar

Forkers

tincho70

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.