LocalBot

LocalBot is a versatile Discord bot designed to chat with users, generate images based on prompts, play songs from YouTube, and fetch song lyrics. It also includes various fun commands like rolling dice, flipping coins, and more.

Features

Installation

  1. Clone the repository:
     git clone https://github.com/ifsvivek/LocalBot.git
     cd LocalBot
    
  2. Create a virtual environment and activate it:
     python -m venv venv
     source venv/bin/activate  # On Windows use `venv\Scripts\activate`
    
  3. Install the required dependencies:
     pip install -r requirements.txt
    
  4. Create a .env file in the root directory and add your tokens:
     TOKEN=your_discord_bot_token
     GENIUS_TOKEN=your_genius_api_token
     WOLF=your_wolframalpha_api_key
     GROQ_API_KEY=your_groq_api_key
    

Usage

Run the bot:

python LocalBot.py

Commands

Chat Commands

Fun Commands

Music Commands

Moderation Commands

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

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