Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 913 Bytes

File metadata and controls

23 lines (19 loc) · 913 Bytes

CryptoBot

A Discord bot for comparing cryptocurrency values. Data from CryptoCompare

Dependencies

  • Python 3.6 (or newer)
  • Discord.py (obviously)
    • python3 -m pip install -U https://github.com/Rapptz/discord.py/archive/rewrite.zip
  • Requests
    • python3 -m pip install requests

Self-Hosting Instructions

  1. Create a bot here.
  2. Paste your bot's token into a file called "token.txt".
    • Ensure there is no newline at the end of the file.
    • On *NIX, try tr -d '\n' < token.txt.
    • If there is a newline at the end, the bot will fail to log in and you will get a cryptic error.
  3. Run the bot.
  4. Invite the bot to your server using your generated OAuth2 URL.
    • Make sure the bot has the permissions to send messages and embed links.