{"id":15031897,"url":"https://github.com/pycord-development/pycord","last_synced_at":"2025-05-14T22:06:55.764Z","repository":{"id":37032650,"uuid":"400837389","full_name":"Pycord-Development/pycord","owner":"Pycord-Development","description":"Pycord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python","archived":false,"fork":false,"pushed_at":"2025-05-13T22:27:07.000Z","size":40896,"stargazers_count":2826,"open_issues_count":84,"forks_count":474,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-05-14T22:06:40.664Z","etag":null,"topics":["discord","discord-api","discord-api-v10","discord-api-wrapper","discord-py","hacktoberfest","py-cord","pycord","python"],"latest_commit_sha":null,"homepage":"https://docs.pycord.dev","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/Pycord-Development.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"patreon":"pycord"}},"created_at":"2021-08-28T16:18:37.000Z","updated_at":"2025-05-14T20:12:10.000Z","dependencies_parsed_at":"2022-07-12T16:13:25.890Z","dependency_job_id":"2daa48bb-b0c6-422f-a8a5-f25940884765","html_url":"https://github.com/Pycord-Development/pycord","commit_stats":{"total_commits":5718,"total_committers":468,"mean_commits":"12.217948717948717","dds":0.5827212311997202,"last_synced_commit":"8dd4b4feed460d5282147d1a82c6c56566e3f08d"},"previous_names":[],"tags_count":94,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pycord-Development%2Fpycord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pycord-Development%2Fpycord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pycord-Development%2Fpycord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pycord-Development%2Fpycord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pycord-Development","download_url":"https://codeload.github.com/Pycord-Development/pycord/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254235695,"owners_count":22036963,"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-api","discord-api-v10","discord-api-wrapper","discord-py","hacktoberfest","py-cord","pycord","python"],"created_at":"2024-09-24T20:16:51.441Z","updated_at":"2025-05-14T22:06:50.743Z","avatar_url":"https://github.com/Pycord-Development.png","language":"Python","readme":".. image:: https://raw.githubusercontent.com/Pycord-Development/pycord/master/pycord.png\n   :alt: Pycord v3\n\nPycord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.\n\n======\n\n.. image:: https://img.shields.io/pypi/v/py-cord.svg?style=for-the-badge\u0026logo=pypi\u0026color=yellowgreen\u0026logoColor=white\n   :target: https://pypi.python.org/pypi/py-cord\n   :alt: PyPI version info\n.. image:: https://img.shields.io/pypi/pyversions/py-cord.svg?style=for-the-badge\u0026logo=python\u0026logoColor=white\n   :target: https://pypi.python.org/pypi/py-cord\n   :alt: PyPI supported Python versions\n.. image:: https://img.shields.io/pypi/dm/py-cord?color=blueviolet\u0026logo=pypi\u0026logoColor=white\u0026style=for-the-badge\n   :target: https://pypi.python.org/pypi/py-cord\n   :alt: PyPI downloads\n.. image:: https://img.shields.io/github/v/release/Pycord-Development/pycord?include_prereleases\u0026label=Latest%20Release\u0026logo=github\u0026sort=semver\u0026style=for-the-badge\u0026logoColor=white\n   :target: https://github.com/Pycord-Development/pycord/releases\n   :alt: Latest release\n\n.. image:: https://img.shields.io/discord/881207955029110855?label=discord\u0026style=for-the-badge\u0026logo=discord\u0026color=5865F2\u0026logoColor=white\n   :target: https://pycord.dev/discord\n   :alt: Discord server invite\n\n.. image:: https://badges.crowdin.net/badge/dark/crowdin-on-light.png\n   :target: https://translations.pycord.dev/documentation/?utm_source=badge\u0026utm_medium=referral\u0026utm_campaign=badge-add-on\n   :alt: Crowdin | Agile localization for tech companies\n\n======\n\nNote\n----\n\nPycord supports Python ``3.9`` - ``3.13``\n\nKey Features\n------------\n\n- Modern Pythonic API using ``async`` and ``await``.\n- Proper rate limit handling.\n- Optimised for both speed and memory usage.\n- Full application API support.\n\nInstalling\n----------\n\n**Python 3.9 or higher is required**\n\nTo install the library without full voice support, run the following command:\n\n.. code:: sh\n\n    # Linux/macOS\n    python3 -m pip install -U py-cord\n\n    # Windows\n    py -3 -m pip install -U py-cord\n\nOtherwise, to get full voice support, run the following command:\n\n.. code:: sh\n\n    # Linux/macOS\n    python3 -m pip install -U \"py-cord[voice]\"\n\n    # Windows\n    py -3 -m pip install -U py-cord[voice]\n\nTo install additional packages for speedup, run the following command:\n\n.. code:: sh\n\n    # Linux/macOS\n    python3 -m pip install -U \"py-cord[speed]\"\n    # Windows\n    py -3 -m pip install -U py-cord[speed]\n\n\nTo install the development version, do the following:\n\n.. code:: sh\n\n    $ git clone https://github.com/Pycord-Development/pycord\n    $ cd pycord\n    $ python3 -m pip install -U .[voice]\n\nor if you do not want to clone the repository:\n\n.. code:: sh\n\n    # Linux/macOS\n    python3 -m pip install git+https://github.com/Pycord-Development/pycord\n    # Windows\n    py -3 -m pip install git+https://github.com/Pycord-Development/pycord\n\n\nOptional Packages\n~~~~~~~~~~~~~~~~~\n\n* `PyNaCl \u003chttps://pypi.org/project/PyNaCl/\u003e`__ (for voice support)\n* `aiodns \u003chttps://pypi.org/project/aiodns/\u003e`__, `brotlipy \u003chttps://pypi.org/project/brotlipy/\u003e`__, `cchardet \u003chttps://pypi.org/project/cchardet/\u003e`__ (for aiohttp speedup)\n* `msgspec \u003chttps://pypi.org/project/msgspec/\u003e`__ (for json speedup)\n\nPlease note that while installing voice support on Linux, you must install the following packages via your preferred package manager (e.g. ``apt``, ``dnf``, etc) BEFORE running the above commands:\n\n* libffi-dev (or ``libffi-devel`` on some systems)\n* python-dev (e.g. ``python3.10-dev`` for Python 3.10)\n\nQuick Example\n-------------\n\n.. code:: py\n\n    import discord\n\n    bot = discord.Bot()\n\n    @bot.slash_command()\n    async def hello(ctx, name: str = None):\n        name = name or ctx.author.name\n        await ctx.respond(f\"Hello {name}!\")\n\n    @bot.user_command(name=\"Say Hello\")\n    async def hi(ctx, user):\n        await ctx.respond(f\"{ctx.author.mention} says hello to {user.name}!\")\n\n    bot.run(\"token\")\n\nTraditional Commands Example\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: py\n\n    import discord\n    from discord.ext import commands\n\n    intents = discord.Intents.default()\n    intents.message_content = True\n    bot = commands.Bot(command_prefix=\"\u003e\", intents=intents)\n\n    @bot.command()\n    async def ping(ctx):\n        await ctx.send(\"pong\")\n\n    bot.run(\"token\")\n\nYou can find more code examples in the ``examples`` directory.\n\nNote: Make sure you do not reveal your bot token to anyone, as it can grant access to your bot.\n\nUseful Links\n------------\n\n- `Documentation \u003chttps://docs.pycord.dev/en/master/index.html\u003e`_\n- `Learn how to create Discord bots with Pycord \u003chttps://guide.pycord.dev\u003e`_\n- `Our Official Discord Server \u003chttps://pycord.dev/discord\u003e`_\n- `Official Discord Developers Server \u003chttps://discord.gg/discord-developers\u003e`_\n\nTranslations\n------------\n\n.. image:: https://badges.awesome-crowdin.com/translation-200034237-5.png\n   :alt: Translation Status\n","funding_links":["https://patreon.com/pycord"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpycord-development%2Fpycord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpycord-development%2Fpycord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpycord-development%2Fpycord/lists"}