{"id":20462031,"url":"https://github.com/denvercoder1/discord-bot-template","last_synced_at":"2025-04-13T06:20:39.738Z","repository":{"id":38154444,"uuid":"368380545","full_name":"DenverCoder1/discord-bot-template","owner":"DenverCoder1","description":"Nextcord (discord.py fork) template for simple and maintainable Discord Bot creation","archived":false,"fork":false,"pushed_at":"2024-01-23T08:45:19.000Z","size":83,"stargazers_count":18,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T22:51:17.366Z","etag":null,"topics":["discord","discord-bot","discordpy","nextcord"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DenverCoder1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-18T02:41:28.000Z","updated_at":"2025-01-13T06:00:39.000Z","dependencies_parsed_at":"2024-11-15T12:39:54.479Z","dependency_job_id":null,"html_url":"https://github.com/DenverCoder1/discord-bot-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DenverCoder1%2Fdiscord-bot-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DenverCoder1%2Fdiscord-bot-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DenverCoder1%2Fdiscord-bot-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DenverCoder1%2Fdiscord-bot-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DenverCoder1","download_url":"https://codeload.github.com/DenverCoder1/discord-bot-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248671282,"owners_count":21143061,"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":["discord","discord-bot","discordpy","nextcord"],"created_at":"2024-11-15T12:29:37.898Z","updated_at":"2025-04-13T06:20:39.715Z","avatar_url":"https://github.com/DenverCoder1.png","language":"Python","readme":"# Discord Bot Template\n\n[![Discord](https://img.shields.io/discord/819650821314052106?color=7289DA\u0026logo=discord\u0026logoColor=white)](https://discord.gg/fPrdqh3Zfu \"Dev Pro Tips Discussion \u0026 Support Server\")\n[![Powered by Nextcord](https://custom-icon-badges.herokuapp.com/badge/-Powered%20by%20Nextcord-0d1620?logo=nextcord)](https://github.com/nextcord/nextcord \"Powered by Nextcord Python API Wrapper\")\n\nThis repo is a template for easy creation of maintainable Python Discord bots.\n\nThe library used is [Nextcord](https://github.com/nextcord/nextcord), a maintained fork of Discord.py.\n\nNextcord documentation: https://nextcord.readthedocs.io/en/latest/\n\n📺 Python Discord Tutorial: https://www.youtube.com/playlist?list=PL9YUC9AZJGFG6larkQJYio_f0V-O1NRjy\n\n## How to use\n\nClick \"use this template\" at the top of this repo and follow the instructions, or alternatively, initialize a git repo and copy the template files into the directory.\n\n```bash\n# Create a new folder (replace my-discord-bot with your bot's name)\nmkdir my-discord-bot \u0026\u0026 cd my-discord-bot\n# Initialize the folder as a git repository and copy the template files\ngit init\ncp ../discord-bot-template/* .\n```\n\n## Environment variables\n\nTo run your bot, you'll need a token and other secrets set in a `.env` file.\n\nCreate a file called `.env` and place it in the root of your project.\n\n(You can do this by creating a copy of `.env.sample` and renaming it to `.env`)\n\nThe contents should look something like this (where the part after `=` is the token you received from the Discord Developer Portal)\n\n```\nDISCORD_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n```\n\nIf you require additional API keys or variables specific to an enviroment, they should also be added here. You can access them by adding a line such as `GUILD_ID = os.getenv(\"GUILD_ID\", \"\")` to `config.py`.\n\n## Heroku\n\n`runtime.txt` and `Procfile` are used for Heroku configuration and can be deleted in case you do not plan on hosting there.\n\nHeroku setup tutorial: https://www.youtube.com/watch?v=EreE-0hQibM\n\n## IDE Configuration\n\nIDE config such as the `.vscode` folder do not normally belong on GitHub since they are often specific to a particular environment. To make sure GitHub will ignore the `.vscode` folder uncomment the line at the end of the `.gitignore`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenvercoder1%2Fdiscord-bot-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenvercoder1%2Fdiscord-bot-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenvercoder1%2Fdiscord-bot-template/lists"}