Discord Bot Development Simplified with Python Starter Bot for AI Chat and Slash Commands
A new Python Discord bot starter kit is available, designed to simplify the deployment and hosting of Discord bots with features like slash commands and optional AI chat. This starter bot, built on `discord.py`, allows for quick setup, enabling a bot to be operational within minutes of pasting its token. It supports various functionalities including responding to mentions and direct messages, an allowlist for user control, and AI chat integration through any OpenAI-compatible API such as OpenAI, OpenRouter, Groq, or DeepSeek. The bot operates as a single, small service without requiring a public domain, webhook, or certificate, and uses no privileged intents, making it easier to manage. Users can customize the bot's personality via a `SYSTEM_PROMPT` and restrict access using `ALLOWED_IDS`. The bot is designed to be easily ejected and modified, allowing developers to add custom slash commands and features.