Personal AI Wiki
Product DocumentsYouTube VideosWorkshops
  • 🟪Personal AI Wiki
  • 🟨Public Lounges
  • 🟩Co-Founders & Team
  • 🟥Support and Features
  • 📚Useful Materials
    • 🟣User Interface
      • ⭐URL upload button
    • 🟣Hi - did you know you can add ChatGPT as a friend?
    • 🟣Adding memories to Personal AI 👟👟👟👟
    • 🟣Create an AI version of Yourself
    • 🔵How To - Chat with ChatGPT
    • 🔵How can I learn prompt engineering using this AI ?
    • ⚫Blog, Product Docs, Whitepaper
    • 🍎SMS to PAI with iOS Training Shortcut
    • 🔵Use Case: Science articles
    • 🔵Use Case: Ideas
    • 🔵Use Case: Studying
    • 💾Community Software Links
      • Discord Server Interface - Python
Powered by GitBook
On this page
  • Links
  • Discord Bot
  • Features
  • Dependencies
  • Installation
  • Usage
  • Contributing
  • License

Was this helpful?

  1. Useful Materials
  2. Community Software Links

Discord Server Interface - Python

Python Discord Server Starter Kit - From VE7LTX Diagonal Thinking LTD

PreviousCommunity Software Links

Last updated 1 year ago

Was this helpful?

Links

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

  4. Run the bot: python discord.py

Usage

  1. Invite the bot to your Discord server using the provided OAuth2 link.

  2. Start the bot by running the discord_bot.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

OPEN SOURCE 4 LIFE

BASE_URL - Base URL for the AI service API (default: '')

MEMORY_API_URL - URL for the memory API (default: '')

📚
💾
https://github.com/VE7LTX/Personal.ai-Discord
https://api.personal.ai/v1/message
https://api.personal.ai/v1/memory