Skip to main content

Pynext - Discord API Wrapper for selfbots written from scratch in Python.

⚠️ Project only for educational purposes!

⚠️ Project is still under development. It may contain bugs, and future updates will bring breaking changes.

License

PyPI - Downloads

GitHub commit activity

GitHub last commit (branch)

💢 Requirements

  • Python 3.9 or newer.

🔧 Pynext Features

  • Modern Pythonic API using async and await.

  • Proper rate limit handling.

  • Optimised in both speed and memory.

  • Properly typehinted.

  • Support for multiple accounts.

🛠️ Installation

pip install -U pynext

💫 Example

See more examples on: Github or Docs.

from pynext import PynextClient, SelfBot, GuildMessage, PrivateMessage

from typing import Union



client = PynextClient(chunk_guilds=False)



@client.dispatcher.listen('on_user_ready')

async def on_ready(user: SelfBot):

    print("User: {} is ready!".format(user))





@client.dispatcher.listen('on_message_create')

async def on_message(selfbot: SelfBot, message: Union[PrivateMessage, GuildMessage]):

    if message.content == "?ping":

        await message.reply(selfbot, content=f"**Pong!** {round(selfbot.latency * 1000)}ms")



client.run("TOKEN_1", "TOKEN_2")

🧷 Links

📋 Todo

  • Voice Support.

  • Message components (Buttons, Select Menus).

  • Official support for context commands.

  • Support for voice messages.

  • Extensions (Cogs).

  • Full api covarage.

Release files for pynext 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pynext 1.2.0
File Size Uploaded
pynext-1.2.0.tar.gz 59.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pynext 1.2.0
File Interpreter ABI Platform
pynext-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 156.5 kB

Release files / pynext-1.2.0.tar.gz

Download URL pynext-1.2.0.tar.gz
Size 59.9 kB
Tags Source
SHA-256 checksum
How to use checksums
81a7d2400b3b603c454cb34cbe845f1d6027023d273b20e5f0150d82cc5f7f1b
BLAKE2b-256 checksum
How to use checksums
899679d5008d0a106cf955ceaa3badab4d7465fdf96df9db2a0016a07579774b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release files / pynext-1.2.0-py3-none-any.whl

Download URL pynext-1.2.0-py3-none-any.whl
Size 96.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05081e2660c6fe87e61cc7288e831bd27ff698e33fe2f7a90ab76e7a07370150
BLAKE2b-256 checksum
How to use checksums
aa5b2ac51a2fa0ddcc8a73fcbd469d9fae5f48fa2419e5f657f212094f432809
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page