Skip to content

TylerTheFox/Monero-TipBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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