{"id":20886211,"url":"https://github.com/batemadevelopment/dockercord-bot","last_synced_at":"2026-01-08T17:35:02.739Z","repository":{"id":40249199,"uuid":"487273359","full_name":"BatemaDevelopment/Dockercord-Bot","owner":"BatemaDevelopment","description":"A Discord Bot written and ran from a Dockerfile","archived":false,"fork":false,"pushed_at":"2022-06-01T15:52:30.000Z","size":632,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T10:14:21.874Z","etag":null,"topics":["alpine","alpine-linux","discord","discord-bot","docker","docker-hub","dockerfile"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BatemaDevelopment.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-30T12:36:56.000Z","updated_at":"2023-06-18T08:57:53.000Z","dependencies_parsed_at":"2022-08-24T13:20:19.872Z","dependency_job_id":null,"html_url":"https://github.com/BatemaDevelopment/Dockercord-Bot","commit_stats":null,"previous_names":["batemadevelopment/dockercord-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatemaDevelopment%2FDockercord-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatemaDevelopment%2FDockercord-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatemaDevelopment%2FDockercord-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BatemaDevelopment%2FDockercord-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BatemaDevelopment","download_url":"https://codeload.github.com/BatemaDevelopment/Dockercord-Bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253808284,"owners_count":21967521,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine","alpine-linux","discord","discord-bot","docker","docker-hub","dockerfile"],"created_at":"2024-11-18T08:16:10.371Z","updated_at":"2026-01-08T17:35:02.671Z","avatar_url":"https://github.com/BatemaDevelopment.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"You need to supply your own\n1. Discord Bot Token (found at [Discord Developer Portal](https://discord.com/developers/))\n2. Client ID (found once you create a Discord Application)\n3. Guild ID (found when you enable Developer Mode in Discord Settings in the Main Client\nthen copy your server, which is also known as a guild ID)\n\nOther than that, this Dockerfile is usable OOTB (out of the box).\n\n- [Railway Template](https://railway.app/new/template/Vb8UZp?referralCode=BatemaDevelopment)\n- [Docker Hub](https://hub.docker.com/r/lukasbatema/dockercord-bot)\n- [GHCR (GitHub Container Registry)](https://github.com/users/Lukas-Batema/packages/container/package/dockercord-bot)\n\n# How to Create a Discord Bot, Add it To Your Server, and Get it Running\n\nTo create the bot, you will want to go to the [Discord Developer Portal](https://discord.com/developers/). To create an application, which we want to do, click, `New Application`.\n\n\nNow, once we have it created, we will want to create the bot. We do this by heading over to the `Bot` tab (found on the left sidebar of the site) and clicking `Add Bot`.\n\nNow we will add the permissions we need. Head on over to `OAuth2 -\u003e URL Generator`. The below picture will tell you what permissions we will need.\n\n\u003cimg src=\"tutorial_images/OAuth2Permissions.png\" /\u003e\n\nBe sure to copy the link!\n\n\n\u003cimg src=\"tutorial_images/OAuth2GeneratedURLCopyButton.png\" /\u003e\n\nNext, we will head over to `OAuth2 -\u003e General`. Click `Add Redirect`. Paste the link copied earlier into the box. Then paste it into your search bar in a browser and hit return.\n\n\u003cimg src=\"tutorial_images/AddOAuth2Redirect.png\" /\u003e\n\n\u003cimg src=\"tutorial_images/PasteOAuth2URL.png\" /\u003e\n\n\u003cimg src=\"tutorial_images/PasteOAuthURLIntoSearchBar.png\" /\u003e\n\nNow we want to add our bot to the server of choice. Follow the next images to do so.\n\n\u003cimg src=\"tutorial_images/AddBotToServer.png\" /\u003e\n\n\u003cimg src=\"tutorial_images/AuthoriseBot.png\" /\u003e\n\nNow, we want to reset the bot token. Head on over to `Bot`. Click `Reset Token`.\n\n\u003cimg src=\"tutorial_images/ResetToken.png\" /\u003e\n\nCopy it, and paste it into the Enviornment Variable spot for your hosting provider. Then, copy the Bot ID by right-clicking on its profile and clicking `Copy ID`, do so with the server you added it into as well and pasting those into the respective Enviornment Variable spots.\n\n\u003cimg src=\"tutorial_images/CopyBotID.png\" /\u003e\n\n\u003cimg src=\"tutorial_images/CopyServerID.png\" /\u003e\n\nNow you can use [Railway](https://railway.app?referralCode=BatemaDevelopment) to sign up for the best Cloud Hosting Service, so you can deploy your Discord Bot 24/7 (until you run out of your $5.00 (USD) credits for the month). CONGRATS! You just deployed your Discord Bot! I hope you enjoy it!\n\n# WORKAROUND FOR COMMANDS NOT DISPLAYING\n1. Go to `Server Settings`\n2. Go to `Integrations`\n3. Select the Bot you used for this Dockerfile\n4. For every slash command:\n- Disallow permissions for `@everyone`\n- Re-allow permissions for `@everyone`\n5. You should be good!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatemadevelopment%2Fdockercord-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbatemadevelopment%2Fdockercord-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatemadevelopment%2Fdockercord-bot/lists"}