$npx skillfedfor your agent

discord.py-self

A Python wrapper for the Discord user API

SkipPyPI LibrariesReleased Jan 2026115.3K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — discord_py_self-2.1.0-py3-none-any.whl
v2.1.0 · released 2026-01-18 · Python >=3.10 · 5 runtime deps: aiohttp, curl_cffi, tzlocal, discord_protos, audioop-lts

No. While the library is technically mature and well-maintained, the description explicitly warns that automating user accounts violates Discord's Terms of Service and the authors cannot recommend its use. Installing and running this code exposes you to account suspension or permanent ban. Use only if you fully understand and accept the ToS violation and the risk of account loss.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Python 3.10 or higher required.
  • Automating user accounts violates Discord's Terms of Service.
  • Low install friction with a pure-wheel distribution.

License · maintenance · safety

permissive license (permissive) — MIT license permits commercial and private use with minimal restrictions; attribution required.

last release 2026-01-18 (208 days) · last repo commit 2026-08-07 · 1,236 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 115,297 downloads/mo, #12,260 on PyPI

Verify before relying

pip install discord.py-self

import discord

client = discord.Client()
client.run('user_token')
  • Whether the library successfully evades Discord's automation detection in practice.
  • Current status of Discord's enforcement against user account automation and whether this library remains functional.
  • Whether all user-account-specific API features (billing, experiments, protobuf settings) are fully implemented and stable.
Same gist for agents: .md · .json

What it is and what it does

discord.py-self is an async Python wrapper for Discord's user account API—the undocumented interface that powers the Discord client itself rather than bot accounts. It extends the original discord.py library with methods to automate user account actions: reading message history, managing relationships, handling billing and subscriptions, responding to interactions, and controlling sessions. The library is intentionally designed to avoid detection by Discord's systems.

The package depends on aiohttp for HTTP requests, curl_cffi for advanced HTTP handling, tzlocal for timezone support, discord_protos for protobuf message definitions, and audioop-lts for audio operations. It targets modern Python (3.10–3.14) and maintains active development. However, the description itself carries an explicit warning: automating user accounts violates Discord's Terms of Service, and the authors cannot recommend its use.

Use it for

  • Build a self-bot that responds to commands in your own Discord messages for personal automation.
  • Programmatically manage user account settings, relationships, and billing information.
  • Automate message reading and interaction handling for personal Discord workflows.
  • Interact with Discord's slash commands and button interactions from a user account.
  • Manage multiple user account sessions and read states programmatically.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

While the library is technically mature and well-maintained, the description explicitly warns that automating user accounts violates Discord's Terms of Service and the authors cannot recommend its use. Installing and running this code exposes you to account suspension or permanent ban. Use only if you fully understand and accept the ToS violation and the risk of account loss.

Install

discord-py-self on PyPI

Before you install

Low install friction with a pure-wheel distribution. Active maintenance with recent commits and a stable release history since 2021. Requires Python 3.10 or higher.

Python 3.10 or higher required. Automating user accounts violates Discord's Terms of Service.

License in practice

MIT license permits commercial and private use with minimal restrictions; attribution required.

Quickstart

pip install discord.py-self

import discord

client = discord.Client()
client.run('user_token')

Verify before relying

  • Whether the library successfully evades Discord's automation detection in practice.
  • Current status of Discord's enforcement against user account automation and whether this library remains functional.
  • Whether all user-account-specific API features (billing, experiments, protobuf settings) are fully implemented and stable.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
aiohttpcurl_cffitzlocaldiscord_protosaudioop-lts
MaintenanceActively maintained 208 days since the last release
Last repo commit
First released
Downloads115,297 / month, #12,260 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: InternetTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: UtilitiesTyping :: Typed

Evidence: discord_py_self-2.1.0-py3-none-any.whl

Tags

Capabilities
discord user account api wrapperdiscord self bot librarydiscord user automation pythonasync discord clientdiscord user api python
Topics
discord-apiself-botuser-automation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “discord user account api wrapper”

  • discord.py-selfAn async Python wrapper for Discord's user account API, enabling…
  • discordA Python API wrapper for Discord that provides async-ready access to…
  • discord.pydiscord.py is an async-ready Python wrapper for the Discord API that…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also discord.py · discord · hikari · py-cord · nextcord · allianceauth-discordbot · vk-api · qq-botpy · discord-webhook · pyrofork