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.
💢 Requirements
- Python 3.9 or newer.
🔧 Pynext Features
-
Modern Pythonic API using
asyncandawait. -
Proper rate limit handling.
-
Optimised in both
speedandmemory. -
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)
| File | Size | Uploaded | |
|---|---|---|---|
| pynext-1.2.0.tar.gz | 59.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|