Git Product home page Git Product logo

swamp-tipbot's Introduction

Monero-TipBot

Discord Tipbot built in C++ for Monero/IntenseCoin

Discord: https://discord.gg/TyD4jfU

Compile

Windows

  • Visual Studio 2017: File -> Open -> CMake -> Click CMakeLists.txt

Linux

  • cmake .
  • make

Applications

Tip

Commands

  • !about
  • !help
  • !balance
  • !myaddress
  • !history
  • !withdraw [amount] [address]
  • !withdrawall [address]
  • !give [amount] [@User1 @User2...]
  • !giveall [@User]
  • !tip [amount] [@User1 @User2...]
  • !tipall [@User]
  • !give [amount] [@User1 @User2...]
  • !blockheight
  • !restartwallet

Faucet

Commands

  • !faucet
  • !take

Lottery

Commands

  • !lottery
  • !jackpot
  • !gameinfo
  • !mytickets
  • !buytickets [amount]

Requirements

  • IntenseCon/Monero Daemon
  • IntenseCoin/Monero RPC
  • Discord Token
  • TCP Port 11000 to 11100 free to bind (can be redefined in config)

Dependencies (included)

Windows/Linux

Linux Packages

  • libcurl4-openssl-dev
  • libssl-dev

RPC Setup

You need to download the RPC for the coin you want to setup the bot with, for example, IntenseCoin (https://github.com/valiant1x/intensecoin/releases). Unzip it to whereever you built the TIPBOT.

Deamon setup

Next you'll need to open the daemon for the coin, for example, intensecoind for IntenseCoin.

The file structure should look like this:

  • intensecoind/monerocoind
  • intense-wallet-rpc/monero-wallet-rpc
  • TIPBOT <- This programs executable.
  • Wallets/ <-- this is a directory. This will be created after running TIPBOT.

Discord Token Setup

Navigate to "My Apps" on Discord (https://discordapp.com/developers/applications/me). Click new app, give it a name and description. Click create a bot user. Copy the token generated on that page and open TIPBOT and enter it when prompted. To add a bot user to your account you'll need to get the client id for the bot which is also on that page. Then navigate to this url (https://discordapp.com/oauth2/authorize?client_id=CLIENTID&scope=bot) and replace CLIENTID in the url with the client url on the page.

The bot should now be ready to run. Launch it, enter the token, and type !balance and if it returns a balance of 0 then the communication between the bot and the RPC is working correctly.

Author: Brandan Tyler Lasley

  • BTC: 1KsX66J98WMgtSbFA5UZhVDn1iuhN5B6Hm
  • ITNS: iz5ZrkSjiYiCMMzPKY8JANbHuyChEHh8aEVHNCcRa2nFaSKPqKwGCGuUMUMNWRyTNKewpk9vHFTVsHu32X3P8QJD21mfWJogf
  • XMR: 44DudyMoSZ5as1Q9MTV6ydh4BYT6BMCvxNZ8HAgeZo9SatDVixVjZzvRiq9fiTneykievrWjrUvsy2dKciwwoUv15B9MzWS

swamp-tipbot's People

Contributors

tylerthefox avatar wowario avatar

Watchers

James Cloos avatar

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.