Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
/ KryptoBOT Public archive

Track price of any crypto token on your Discord server

License

Notifications You must be signed in to change notification settings

o-az/KryptoBOT

Repository files navigation

Lines of code

A simple, easy to setup, Discord cryptocurrency price tracking tool. It works by periodically updating your bot's nickname with live price. You can track price of any cryptocurrency you want, as long as it's listed on coingecko.

demo_02

Setup

  1. Clone the repo:

    git clone https://github.com/Omar-Aziz/KryptoBOT

  2. Rename the .env.example file to .env and update the file with your keys:

    PREFIX=!
    CLIENT_ID=your-discord-client-id
    BOT_TOKEN=your-discord-bot-token
    DISCORD_SERVER_ID=your-discord-server-id
    TRACK_PRICE_OF=dogecoin
    
  3. Set the value of TRACK_PRICE_OF to whatever token you want to track the price of,

  4. Add your bot to your Discord server,

  5. Install dependencies:  npm install

  6. Run the process:

    for development:  npm run dev

    for production, first install pm2, then run:

    npm install pm2 -g

    npm start

Creating a Discord bot: Guide

Adding your bot to servers: Guide

Have any recommendations or see any issues? Feel free to open an issue and I'll take a look as soon as I can.