Skip to main content

Library for creating discord bots and scripts.

Project description

UDISCORD

GitHub release Pypi version license docs


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 :_(")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

udiscord-1.3.8.tar.gz (21.6 kB view details)

Uploaded Source

File details

Details for the file udiscord-1.3.8.tar.gz.

File metadata

  • Download URL: udiscord-1.3.8.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for udiscord-1.3.8.tar.gz
Algorithm Hash digest
SHA256 8336bf1abb1e9d79a01ec834978990c8a2fedb7658d6bc1c125a7754ff56d5b6
MD5 8b8b7effcabd598d4e9b787fe13d59de
BLAKE2b-256 f70a1dccbc8e493fa0480ef57ccccfdb0bf608f45650fedab34a54c6629c354f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page