{"repo":"judge0/discord-bot","free":true,"listed":false,"github":"https://github.com/judge0/discord-bot","clone":"git clone https://github.com/judge0/discord-bot.git","description":"Run code securely in Discord across dozens of programming languages, powered by Judge0.","language":"Python","stars":25,"topics":["discord","discord-bot","online-compiler","code-runner","code-execution","code-executor","chat-bot","developer-tools","education","utilities"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Judge0 Discord Bot Judge0 Discord Bot runs source code from Discord using the official Judge0 Python SDK and native Discord slash commands. Add Judge0 Discord Bot to your server Commands - /run language code [stdin] executes source code. The language option has autocomplete, and code can be plain text or a Markdown code block. - /languages lists Judge0 Python SDK language aliases. - /help shows a short usage guide. - /info shows the running Discord and Judge0 Python SDK versions. Example: The bot uses slash commands only. It does not need Discord's privileged Message Content or Server Members intents. Requirements - Python 3.14 and uv, or Docker - A Discord application and bot token Judge0 Discord Bot intentionally uses the SDK's credential-free preview client. No Judge0 API key, custom endpoint, or Judge0 authentication setting is needed. The public preview service is rate-limited. Judge0 Server Test The existing .env in this workspace already contains BOT TOKEN . Add these settings to register commands instantly in the Judge0 server and reject commands anywhere except #test-discord-bot : Then start the bot: In #test-discord-bot , run /info , followed by: The Discord application represented by BOT TOKEN must already be installed in the Judge0 server. Stop any old process using the same token before starting this implementation, otherwise both processes can respond to Discord events. For a private test channel, open Edit Channel Permissions , add the bot member, and allow Vie","default_branch":null,"files":null,"tree":[],"storefront":"/r/judge0","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/judge0/discord-bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}