Files
EstebanVincent fec24d811d
Publish Docker Image / test (push) Successful in 43s
Publish Docker Image / build-and-push (push) Successful in 4m15s
Move from github to gitea (#1)
Reviewed-on: #1
Co-authored-by: Esteban Vincent <este.vincent@gmail.com>
Co-committed-by: Esteban Vincent <este.vincent@gmail.com>
2026-05-31 01:13:19 +02:00

56 lines
1.3 KiB
Markdown

# Discord Meme Bot 🤖
A Discord bot with slash commands for meme generation and more.
## Prerequisites
- Python 3.13+
- [uv](https://docs.astral.sh/uv/) - Fast Python package manager
- Discord Bot Token
- n8n Webhook URL and API Key
π
## Setup
### Local Development
```bash
git clone https://github.com/EstebanVincent/DiscordBot.git
cd DiscordBot
cp .env.example .env # Edit with your values
uv sync
uv run python src/main.py
```
### Docker
```bash
# Build and run locally
docker build -t discord-bot .
docker run -d --name discord-bot -e DISCORD_TOKEN=... -e WEBHOOK_URL=... -e API_KEY=... discord-bot
# Or use pre-built image
docker run -d --name discord-bot -e DISCORD_TOKEN=... -e WEBHOOK_URL=... -e API_KEY=... \
ghcr.io/estebanvincent/discordbot/discord-bot:latest
```
## Commands
- `/meme prompt:<text>` - Generate a meme from your text prompt
## Discord Setup
1. Create bot at [Discord Developer Portal](https://discord.com/developers/applications)
2. Copy bot token to environment variables
3. Invite bot with permissions: Send Messages, Use Slash Commands, Embed Links
## Development
```bash
# Code quality
uv run ruff check src
uv run ruff format src
```
Project uses GitHub Actions for CI/CD with semantic versioning and automated Docker builds.