Discord Bots Discord Bots Discord Bots

hashBIT

A cryptocurrency rate Discord bot.

Invite To Server

https://discordapp.com/oauth2/authorize?client_id=403366799267332097&scope=bot&permissions=216129

Commands

The following commands are currently available:

Show rate of a coin: #bit rate [btc|eth|ltc|xrp etc...] eg. #bit rate btc or #bit rate eth
Show a graph of closing prices: #bit graph [btc|eth|ltc|xrp etc...] eg. #bit graph btc or #bit graph eth
Show the help text: #bit help
Show bot invite URL: #bit invite
Clean previous hashBIT messages: #bit clean
View information about the bot: #bit info


Self Hosting

Requirements

Note: Most of the required libraries can be instaled with pip. (python3-pip package)

Usage

  1. Register an app on the Discord developer page. https://discordapp.com/developers/applications/me
  2. Make the app into a user and copy the token into the end of the code.
  3. Create a folder named temp in the directory containing the hashBIT.py script and give it read and write permissions for the user that runs the script.
  4. Save and run it

On Linux you can run the following to open the script as a background process:

pnohup python3 hashBIT.py &
disown

Or you can use screen:

sudo apt install screen
screen -S hashbit
python3 hashBIT.py

Rate data provided by cryptocompare.com


If you like my work please consider a donation to show your appreciation and support. :)

PayPal
BTC: 1Q1Q4LZK8ghrcX6jxxuPa95bwvu6bVUdsY