[4/15/2020] As of this day, the bot will no longer be hosted publically. I'm happy that the bot has reached a point of catering ~780 servers totaling ~258,000 members, but no longer do I have interest or the investment to maintain it. Should anyone have questions or need help with hosting their own bot, feel free to reach out to me. Preferably, I'd look at the v1 code to better understand the bot's original functionality. While it doesn't support Coinmarketcap's v2 API during that time, it's cleaner than some of the workarounds I had to do to accomadate for the API changes.
A Discord bot that sends constant cryptocurrency updates to text-channel subscribers and can create alert notifications.
Created with Python 3.6 and the CoinMarketCap API wrapper.
Click here to add the bot to your server.
- Install necessary requirements using
pip install -r requirements.txt
- Rename
config_template.json
toconfig.json
- Enter your discord token inside the token variable in
config.json
- Enter coinmarketcal id and secret in their respective fields
(You can create and find both from here https://api.coinmarketcal.com/) - Run with
python bot.py
orpython3 bot.py
You're also given the option to change the command prefix as you see fit inside of the config.json.
If you want to use the :small_green_triangle: emoji, I've uploaded it in the emoji folder. To use it for your bot, have a server with the emoji uploaded to it (while also naming it small_green_triangle) and edit the id of the SMALL_GREEN_TRIANGLE
variable at the top of coin_market.py
to the emoji ID of your emoji.
This bot has commands to look up cryptocurrencies, subscribe to live updates, create crypto price alerts for the user, and many more.
See examples of the commands here
See wiki page here or type $help
.
Stay tuned for more features.