Code Monkey home page Code Monkey logo

aleph-discord-bot's Introduction

Aleph Bot

visitor badge

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 ๐Ÿ˜Š.

AlephZe Python Discord

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:

    https://github.com/Alvalens/aleph-discord-bot.git
    
  2. Install the required dependencies:

    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. For gemini API you can setup it here.

  4. Run the bot

    py main.py

Usage

  • /image<keywords>: Searches for images based on the provided keywords.
  • /help: Show avalible commands
  • /ping: Pings the bot and returns "Pong!".
  • /ask <question>: ask an question and get an answer from gemini AI
  • /clear <amount>: 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 file for details.

aleph-discord-bot's People

Contributors

alvalens avatar deepsource-autofix[bot] avatar deepsource-io[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

alephze

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.