Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
- `main.py` boots the `LaCommuDiscordBot`, wiring config, the OpenAI parser, and the aiohttp health server used by Scaleway.
Sign in to like and favorite skills
main.py boots the LaCommuDiscordBot, wiring config, the OpenAI parser, and the aiohttp health server used by Scaleway.bot/ hosts core modules: client.py (Discord logic and slash commands), formatter.py (embeds & error cards), scraping.py (HTTP + HTML/image handling), openai_client.py (text/vision parsing), health.py (health endpoint), and models.py/utils.py.requirements.txt, .env.example, Dockerfile, Makefile, and README.md sit at root for dependency management, automation, and docs./jobbot post (parse & publish) and /jobbot preview (parse-only).reference text can include regular URLs or image: https://... markers; images are sent directly to OpenAI via image_url./jobbot status reveals current routing (Manage Guild permission required).aiohttp health server listens on env PORT (default 8080) to satisfy Scaleway probes.build, push, deploy, test) automate the Docker/Scaleway flow. Container 2fed6267-5ce1-4331-80f8-241f411a782e deploys rg.fr-par.scw.cloud/la-commu-discord-bot/la-commu-discord-bot:latest./jobbot post submissions are retried automatically on startup (max 3 attempts).python -m pip install -r requirements.txt — install runtime dependencies.python main.py — run the bot locally.python -m compileall . — quick syntax smoke check.docker build -t la-commu-discord-bot . / docker push ... — container workflow.make build|push|deploy|test — convenience targets.tests/ and use pytest + pytest-asyncio.python -m pip install -r requirements-test.txt and run python -m pytest (or make test)..env.example.JOB_TEAM_CHANNEL_IDS in sync with live channel IDs.