Skip to content

Install Coinbot

Maxime edited this page Jun 4, 2018 · 1 revision

Getting Started

The bot is ready to deploy. Just add your Bot Secret token you created with your discord dev account.

Prerequisites

You'll need python3.6 installed and some dependencies.

To Install Python3.6 you can follow this tutorial :

Install dependencies

If you do not have pip, you can use the following

curl https://bootstrap.pypa.io/get-pip.py | python3.6

Install all the required dependancies :

python3.6 -m pip install -r requirements.txt

Installation

You just have to install the dependencies as seen above then put your secret Discord token (the Etherscan one is optionnal but if you don't put it the !balance command will not work) and launch main.py

python3.6 PathToCoinbot/main.py

If you want to run the bot on a VPS you should install Supervisor and run the bot on a supervisor instance. This way if the bot crashes supervisor will autorelaunch it.

supervisorctl start CoinBot

To see if the bot is running correctly just run the command !bot

!bot

Clone this wiki locally