Giter Club home page Giter Club logo

decryptu / retardio Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.72 MB

Retardio is a Discord bot designed to keep cryptocurrency enthusiasts within your server informed about significant market movements. Leveraging the CoinGecko API, it monitors the top 100 cryptocurrencies, notifying your channel with a detailed embed message whenever a coin's value moves up or down by 20%.

License: MIT License

JavaScript 100.00%
bitcoin coingecko coingecko-api crypto crypto-bot cryptobot cryptocurrency cryptocurrency-bot discord discord-bot discord-js ethereum

retardio's Introduction

Retardio Bot

Retardio is an advanced Discord bot that provides real-time alerts on significant cryptocurrency market movements. Powered by the CoinGecko API, it tracks the top 100 cryptocurrencies, delivering beautifully crafted embed messages directly to your designated Discord channel. These alerts include vital information such as the coin's name, price, market cap, and percentage change, offering a comprehensive overview of major market shifts.

Features

  • Real-time tracking of the top 100 cryptocurrencies on CoinGecko.
  • Automatic alerts for any coin that moves up or down by 20%.
  • Detailed embed messages containing the coin's data, including price and market cap.
  • Easy to configure and deploy on any Discord server.

Installation

  1. Clone the repository:

    git clone https://github.com/Decryptu/Retardio.git
  2. Install dependencies:

    cd Retardio
    npm install
  3. Configure your bot:

    Create a .env file in the root directory and add your Discord bot token like so:

    DISCORD_TOKEN=your_discord_bot_token_here
    

    Edit the config.json file to include the channel ID where alerts should be posted and other configurations. Here's an example with explanations for each configuration:

    {
      "channelId": "your_discord_channel_id_here", // Discord channel ID where notifications will be sent.
      "fetchInterval": 600000, // Interval between data fetches in milliseconds (600000ms = 10 minutes).
      "perPage": 200, // Number of coins to fetch per page from the CoinGecko API.
      "minChangePercentage": 20, // Minimum percentage change in coin price to trigger a notification.
      "cooldownPeriod": 43200000 // Cooldown period in milliseconds before a coin can be notified about again (43200000ms = 12 hours).
    }
  4. Start the bot:

    npm run start

Demonstration

Retardio Bot in action

This screenshot demonstrates how alerts appear in your Discord channel, providing real-time updates on significant market movements.

Usage

Once deployed, Retardio will monitor cryptocurrency movements and automatically post alerts in the specified channel. There's no further action required; just watch for alerts and stay ahead of the market!

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue on the GitHub repository.

License

This project is licensed under the ISC License. See the LICENSE file for details.

Support

If you encounter any problems or have suggestions, please open an issue on GitHub.

retardio's People

Contributors

decryptu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.