Skip to content

Sk1mer12/Crypto-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Crypto Discord Bot

The Crypto Discord Bot is a Python-based bot that fetches real-time cryptocurrency prices from Coingecko and displays them in your Discord server. With this bot, you and your server members can stay up-to-date with the latest prices of various cryptocurrencies.

Table of Contents

About

The Crypto Discord Bot is designed to be a helpful tool for crypto enthusiasts and traders who want to keep track of cryptocurrency prices without leaving Discord. By integrating this bot into your server, you can easily check the prices of your favorite coins in real-time.

Installation

Prerequisites

To run the bot, ensure you have the following installed:

  • Python (at least version 3.6)
  • pip (Python package manager)

Setup

  1. Clone the repository:
git clone https://github.com/your-username/crypto-discord-bot.git
  1. Navigate to the project directory:
cd crypto-discord-bot
  1. Install the required Python packages:
pip install -r requirements.txt
  1. Create a Discord bot and get your bot token:

  2. Set up your configuration:

    • Rename config.example.ini to config.ini.
    • Open config.ini and replace YOUR_BOT_TOKEN with your bot token.

Running the Bot

To start the bot, run the following command:

python bot.py

The bot will now be active on your Discord server.

Usage

Once the bot is running in your server, you can use the following commands to interact with it:

  • !price <coin>: Fetches the current price of a specific cryptocurrency from Coingecko. Replace <coin> with the name or symbol of the cryptocurrency (e.g., !price bitcoin or !price BTC).
  • !help: Displays a list of available commands and their usage.

Contributing

We welcome contributions to enhance the functionality of the Crypto Discord Bot. If you want to add new features, improve existing ones, or fix bugs, feel free to contribute.

To contribute, follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix:
    git checkout -b feature/your-feature-name
  3. Make your changes and commit them:
    git commit -m "Add your commit message here"
  4. Push your changes to your forked repository:
    git push origin feature/your-feature-name
  5. Open a pull request to the main branch of this repository.
  6. We will review your contribution, provide feedback, and merge it once approved.

Please ensure your pull request follows our Code of Conduct.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages