





































Community bot for the Marwie AI App Builders Discord server, with moderation, tickets, temporary voice rooms, quizzes and anonymous questions. A web control panel changes its settings.
A rebuild of an older community bot for the Marwie AI App Builders server. It does moderation, tickets, temporary voice rooms, quizzes and anonymous questions. Settings are stored per server, on SQLAlchemy with Alembic migrations. Every slash command shows a private confirmation first, and nothing runs until the person who typed it presses Approve.
[Why this was built, in a sentence.]
Staff sign in to the web control panel with Discord. A change they make is queued in the database, and a webhook message wakes the bot, which checks the person's permissions again and then applies the change to the server. The result shows back on the site. The bot never serves HTTP, and the site never reaches it directly. The bot also keeps its token to itself, since the site only writes to the queue.
That's the hosted setup, on Vercel and Neon Postgres. The repo can also run both halves on one Mac with a shared SQLite file, where the bot checks the queue about once a second instead of waiting for a ping.