GithubHelp home page GithubHelp logo

grand151 / botx-discord- Goto Github PK

View Code? Open in Web Editor NEW

This project forked from haseebasif7/botx-discord-

0.0 0.0 0.0 26 KB

BotX is an advanced Discord chatbot built with discord.py, featuring 24/7 hosting on Pylexnodes. It offers dynamic responses powered by the Mistral AI model, voice interaction with Google Text-to-Speech (gTTS) and FFmpeg, and an interactive help menu. Enhance your Discord server with BotX's sophisticated features.

License: MIT License

Python 100.00%

botx-discord-'s Introduction

BotX - Advanced Discord Chatbot

BotX is a sophisticated Discord chatbot designed to enhance your server interactions with dynamic responses and advanced voice capabilities. Developed using the discord.py library, BotX features integration with the Mistral AI model and Google Text-to-Speech (gTTS), with voice responses processed through FFmpeg.

Key Features

  • Dynamic Responses: BotX utilizes the advanced Mistral AI model via the Groq API to generate precise, relevant, and engaging responses to user queries. Whether you're seeking factual information, need assistance with a task, or just want some fun, BotX's intelligent processing ensures that you receive well-crafted answers that fit the context of your inquiry.

  • Enhanced Voice Interaction: One of BotX's standout features is its ability to transform text responses into natural, human-like speech. Using Google Text-to-Speech (gTTS), BotX converts written replies into audio, which is then processed through FFmpeg to ensure compatibility with Discord's voice channels. This feature allows the bot to join voice channels and speak directly to users, providing a more immersive and interactive experience. The audio is carefully converted to a format that Discord can handle, ensuring clear and high-quality sound.

  • Interactive Help Menu: BotX offers a user-friendly help system through an interactive dropdown menu. By using the !!help command, users can access a well-organized menu that provides information on various topics such as command usage, voice mode toggles, and developer details. This feature simplifies navigation and makes it easy for users to find the information they need quickly.

  • 24/7 Availability: BotX is hosted on Pylexnodes, a reliable cloud platform, ensuring that it remains active and operational around the clock. This means that the bot is always available to assist with queries, provide entertainment, or manage server interactions, regardless of the time of day. The robust hosting setup guarantees minimal downtime and consistent performance.

Setup and Installation

To get BotX up and running, follow these steps:

Prerequisites

  • Python 3.8 or higher
  • FFmpeg: Make sure FFmpeg is installed and accessible in your system's PATH.

Installation

  1. Clone the Repository

    git clone https://github.com/Haseebasif7/BotX-Discord-.git
    cd BotX
  2. Create a Virtual Environment

    python -m venv venv
    source venv/bin/activate
    
  3. Install Dependencies

    pip install -r requirements.txt
    
  4. Set Up Environment Variables

    Create a .env file in the root directory of the project and add the following variables:

    DISCORD_TOKEN=your_discord_bot_token
    GROQ_API_KEY=your_groq_api_key
    user_id=your_discord_user_id
    
    
  5. Run the Bot

    python bot.py
    

Usage

Commands

  • !!help - Displays the interactive help menu.
  • !!voice - Toggles between text and voice mode.
  • !!logout - Logs out the bot (Developer only).
  • !!<query> - Ask the bot a question or request information.

Integration

Use Below link to add BotX in your Discord Server : BotX

Voice Interaction

Ensure you are in a voice channel to receive responses in voice mode.

Contributing

Contributions to BotX are welcome! If you have suggestions, bug reports, or improvements, please open an issue or submit a pull request.

Acknowledgements

  • discord.py: For the Discord API wrapper.
  • gTTS: For text-to-speech conversion.
  • FFmpeg: For audio processing.
  • Groq API: For AI-based responses.

botx-discord-'s People

Contributors

haseebasif7 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.