Skip to content

2. Setup

Brandan Lasley edited this page Aug 28, 2018 · 1 revision

Basic Information

Before you can run TIPBOT you must first copy over your coins RPC (if Monero monero-wallet-rpc) to the same directory where TIPBOT is going to be executed. It is recommended that you keep the TIPBOT in the root of its source folder, however, that is not required.

If you wish to move Tipbot to another folder you must also move these files/files with it.

  • Coins/
  • Scripts/
  • TIPBOT.json

Custom Coins

In the Coins/ directory several templates for coins are given. Copy any one of those templates and change the copy's name to your own coins name.

The primary things you would want to change in this file is

  • Admins
  • coin_offset
  • coin_abbv
  • address_length
  • sub_address_length
  • integrated_address_length
  • filename
  • daemon_hostname

There is a bit of confusion with coin_offset. This is the number of zeros your coin has for example Monero has 12 zeros so it will have 1 followed by 12 zeros. To get Discord ID's for the admins you can follow the directions from this tutorial.

Discord & Execution

You need a Discord token to get this token you need to navigate to My Apps on Discord's developers page. Create an application and give it a name and a description after creating the app click Bot in the side bar and Add Bot. Under token click copy and run TIPBOT. It'll prompt you for which coin configuration you would like to use then ask for the token you just copied. Paste into the terminal and hit enter.

Finally you'll need to add TIPBOT to your Discord server. This can be done by clicking General Information in the side bar of the page you clicked Bot in a previous step. On that page you should see a bunch of numbers with the header Client ID above it. Replace CLIENTID in this URL https://discordapp.com/oauth2/authorize?client_id=CLIENTID&scope=bot with your own client id. Follow the instructions on screen.

Tipbot should now be successfully configured and ready to accept commands in your Discord server.

Clone this wiki locally