Git Product home page Git Product logo

personal.ai-discord's Introduction

Discord Bot

This is a Discord bot that interacts with an AI service to generate responses and uploads messages to a memory API. It is built using the Discord.py library.

Features

  • Chat with the bot and receive AI-generated responses.
  • Messages are uploaded to a memory API for further analysis.
  • Handles multiple server channels.

Dependencies

  • A Personal.ai API Tier Account
  • Python 3.7 or higher
  • nextcord (Discord.py) - Library for Discord integration
  • requests - Library for making HTTP requests
  • python-dotenv - Library for loading environment variables

Installation

  1. Clone the repository: git clone https://github.com/your-username/discord-bot.git
  2. Install the required dependencies: pip install -r requirements.txt
  3. Set up your environment variables in a .env file:
    • BOT_TOKEN - Token for your Discord bot
    • API_KEY - API key for the AI service and memory API

Bot Setup

Usage

  1. Invite the bot to your Discord server using an OAuth2 link generated from your discord developer portal.
  2. Start the bot by running the discord.py script.
  3. The bot will listen to messages in the server channels and respond accordingly.
  4. Messages will be uploaded to the memory API for analysis.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

Unlicense

personal.ai-discord's People

Contributors

ve7ltx avatar az-neter avatar

Stargazers

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