UDISCORD — A library for creating user bots on Discord based on unofficial API, obtained by analyzing web traffic and mobile app traffic.
UDISCORD provides access to various features for managing a Discord account, such as bans, kicks, sending messages, receiving events, and much more. The library is designed for ease of use and allows automating many processes on Discord.
⚠️ Important! Abuse of this library for malicious purposes or violation of Discord's rules may lead to account suspension or banning.
Code Examples
🔹 Login with Email and Password
from udiscord import Client, Message
# Create a client instance
client = Client()
# Log in with email and password (this also initiates the socket connection)
info = client.login(email="email", password="password")
print(info.token) # Prints the token after successful login
# Log out and disconnect from the socket
client.logout()
🔹 Command and Event Handling
@client.command(["!commands", "/commands"])
def get_commands(message: Message):
# The bot will reply saying it doesn't have commands
client.send_message(message.channelId, "Sorry, I don't have commands :_(")
Metadata
Release files for udiscord 1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| udiscord-1.4.tar.gz | 30.7 kB | Without provenance | Details for udiscord-1.4.tar.gz |
Release files / udiscord-1.4.tar.gz
| Download URL | udiscord-1.4.tar.gz |
|---|---|
| Size | 30.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0cb39975565dc3fd0b47d8dc74be5c3116cf2646756e0e5bede7601b53f6fe05
|
|
BLAKE2b-256 checksum How to use checksums |
8df98f929bc868b3a1aa25d3fee2df56c53dcc5c554e73d9b84c19efd423344e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Security for udiscord 1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.