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.
git clone https://github.com/ifsvivek/LocalBot.git
cd LocalBot
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
pip install -r requirements.txt
.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
Run the bot:
python LocalBot.py
$chat [message]
/imagine [prompt]
/lyrics [song_name]
/cat
/dog
/gtn
/hello
/dice [sides]
/flip
/ask [question]
/play [query]
/stop
/join
/leave
/purge [amount]
$clear [amount]
$clear_history
$pin
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE
file for details.