https://github.com/alvalens/aleph-discord-bot
Aleph bot is a simple discord bot, which has image finder or image grabber, ai chat and other utility tools like message remover.
https://github.com/alvalens/aleph-discord-bot
discord-ai-chat discord-bot discord-bot-python discord-image-grabber discord-image-searcher gemini-api image-search image-searcher-bot llm python serp-api
Last synced: 4 days ago
JSON representation
Aleph bot is a simple discord bot, which has image finder or image grabber, ai chat and other utility tools like message remover.
- Host: GitHub
- URL: https://github.com/alvalens/aleph-discord-bot
- Owner: Alvalens
- License: mit
- Created: 2023-08-06T04:10:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-02T23:36:25.000Z (over 1 year ago)
- Last Synced: 2025-04-02T04:23:34.865Z (10 months ago)
- Topics: discord-ai-chat, discord-bot, discord-bot-python, discord-image-grabber, discord-image-searcher, gemini-api, image-search, image-searcher-bot, llm, python, serp-api
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Aleph Bot

Aleph Bot is a Discord bot that allows you to ask or chat with an AI to get a unique response instead of just static one, you can also search for images based on keywords and some other utility commands. If you want to preview the bot you can join my discord server 😊.
[](https://discord.gg/cZH93kM)  
## Features
- Image search: Search for images based on keywords using the `/image` command.
- Ask AI: ask whatever question to an gen AI to get answer with `/ask `command,
## Installation
1. Clone the repository:
```git
https://github.com/Alvalens/aleph-discord-bot.git
```
2. Install the required dependencies:
```powershell
pip install --r requirements.txt
```
3. Create a `.env` or copy the .env.example file in the project root with the following content:
```
token=YOUR_DISCORD_BOT_TOKEN
login=YOUR_API_LOGIN
password=YOUR_API_PASSWORD
gemini_api_key=YOUR_GEMINI_API_KEY
```
Replace `token`, `login`, `password` and `gemini api key` with your actual tokens and credentials. SERP API used: [DataForSeo Google image search](https://dataforseo.com/). For gemini API you can setup it [here](https://aistudio.google.com/ "ai studio").
4. Run the bot
```python
py main.py
```
## Usage
* `/image`: Searches for images based on the provided keywords.
* `/help`: Show avalible commands
* `/ping`: Pings the bot and returns "Pong!".
* `/ask : `ask an question and get an answer from gemini AI
* `/clear : `clear or delete a messages from an channel
## Contributing
Contributions are welcome! If you find any issues or have suggestions, feel free to open an issue or submit a pull request.
## License
This project is licensed under the MIT License seethe [LICENSE](LICENSE) file for details.